From 1b1ab957814561d1e819a8ea4f03d5fd7f5a050e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20J=C3=A4genstedt?= Date: Thu, 1 Oct 2015 15:28:51 +0200 Subject: [PATCH] Expose some NavigatorID members only on Window 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 https://github.com/whatwg/html/issues/216 --- source | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/source b/source index 7d20249ccb4..23d0049d49b 100644 --- a/source +++ b/source @@ -89126,15 +89126,15 @@ interface WindowModal {
[NoInterfaceObject, Exposed=(Window,Worker)]
 interface NavigatorID {
-  readonly attribute DOMString appCodeName; // constant "Mozilla"
+  [Exposed=Window] readonly attribute DOMString appCodeName; // constant "Mozilla"
   readonly attribute DOMString appName; // constant "Netscape"
   readonly attribute DOMString appVersion;
   readonly attribute DOMString platform;
-  readonly attribute DOMString product; // constant "Gecko"
-  readonly attribute DOMString productSub;
+  [Exposed=Window] readonly attribute DOMString product; // constant "Gecko"
+  [Exposed=Window] readonly attribute DOMString productSub;
   readonly attribute DOMString userAgent;
-  readonly attribute DOMString vendor;
-  readonly attribute DOMString vendorSub; // constant ""
+  [Exposed=Window] readonly attribute DOMString vendor;
+  [Exposed=Window] readonly attribute DOMString vendorSub; // constant ""
 };

In certain cases, despite the best efforts of the entire industry, Web browsers have bugs and