Bug 1154878. Stop exposing navigator.tainteEnabled in workers. r=ehsan
authorBoris Zbarsky <bzbarsky@mit.edu>
Wed, 15 Apr 2015 16:33:06 -0400
changeset 258321 a6eac2cc6ba7757a01e262a5a5decb9bf09e31d9
parent 258320 3fb858ffea7c5cef00bb0c23b9b72dde89fb24c5
child 258322 7654cc4ef41f6dba53d03d4df73e3683d425c6d5
push id8007
push userraliiev@mozilla.com
push dateMon, 11 May 2015 19:23:16 +0000
treeherdermozilla-aurora@e2ce1aac996e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersehsan
bugs1154878
milestone40.0a1
Bug 1154878. Stop exposing navigator.tainteEnabled in workers. r=ehsan
dom/webidl/Navigator.webidl
testing/web-platform/meta/workers/interfaces/WorkerUtils/navigator/007.html.ini
--- a/dom/webidl/Navigator.webidl
+++ b/dom/webidl/Navigator.webidl
@@ -42,16 +42,17 @@ interface NavigatorID {
   [Constant, Cached]
   readonly attribute DOMString platform;
   [Constant, Cached]
   readonly attribute DOMString userAgent;
   [Constant, Cached]
   readonly attribute DOMString product; // constant "Gecko"
 
   // Everyone but WebKit/Blink supports this.  See bug 679971.
+  [Exposed=Window]
   boolean taintEnabled(); // constant false
 };
 
 [NoInterfaceObject, Exposed=(Window,Worker)]
 interface NavigatorLanguage {
 
   // These 2 values are cached. They are updated when pref
   // intl.accept_languages is changed.
deleted file mode 100644
--- a/testing/web-platform/meta/workers/interfaces/WorkerUtils/navigator/007.html.ini
+++ /dev/null
@@ -1,5 +0,0 @@
-[007.html]
-  type: testharness
-  [readonlyness of members of Navigator]
-    expected: FAIL
-