Skip to content

Commit

Permalink
Expose some NavigatorID members only on Window
Browse files Browse the repository at this point in the history
The set of attributes with [Exposed=Window] is the union of attributes
NOT exposed on Worker in shipping browsers:

Blink: productSub, vendor, vendorSub
Edge: appCodeName
Gecko: productSub, vendor, vendorSub
WebKit: appCodeName, product, productSub, vendor, vendorSub

Fixes #216
  • Loading branch information
foolip committed Oct 1, 2015
1 parent 3324f22 commit 1b1ab95
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -89126,15 +89126,15 @@ interface <dfn>WindowModal</dfn> {

<pre class="idl">[NoInterfaceObject, Exposed=(Window,Worker)]
interface <dfn>NavigatorID</dfn> {
readonly attribute DOMString <span data-x="dom-navigator-appCodeName">appCodeName</span>; // constant "Mozilla"
[Exposed=Window] readonly attribute DOMString <span data-x="dom-navigator-appCodeName">appCodeName</span>; // constant "Mozilla"
readonly attribute DOMString <span data-x="dom-navigator-appName">appName</span>; // constant "Netscape"
readonly attribute DOMString <span data-x="dom-navigator-appVersion">appVersion</span>;
readonly attribute DOMString <span data-x="dom-navigator-platform">platform</span>;
readonly attribute DOMString <span data-x="dom-navigator-product">product</span>; // constant "Gecko"
readonly attribute DOMString <span data-x="dom-navigator-productSub">productSub</span>;
[Exposed=Window] readonly attribute DOMString <span data-x="dom-navigator-product">product</span>; // constant "Gecko"
[Exposed=Window] readonly attribute DOMString <span data-x="dom-navigator-productSub">productSub</span>;
readonly attribute DOMString <span data-x="dom-navigator-userAgent">userAgent</span>;
readonly attribute DOMString <span data-x="dom-navigator-vendor">vendor</span>;
readonly attribute DOMString <span data-x="dom-navigator-vendorSub">vendorSub</span>; // constant ""
[Exposed=Window] readonly attribute DOMString <span data-x="dom-navigator-vendor">vendor</span>;
[Exposed=Window] readonly attribute DOMString <span data-x="dom-navigator-vendorSub">vendorSub</span>; // constant ""
};</pre>

<p>In certain cases, despite the best efforts of the entire industry, Web browsers have bugs and
Expand Down

0 comments on commit 1b1ab95

Please sign in to comment.