Backed out changesets 465dfc26cccb and bd11384b3241 (bug 952139) because it depends on bug 911972.
authorRyan VanderMeulen <ryanvm@gmail.com>
Mon, 15 Jun 2015 13:04:02 -0400
changeset 266989 79e11098d70acb581785906fd7db9820f626a35c
parent 266988 465dfc26cccbf2751dece5371f389fc54f7e4b23
child 266990 53a99d02925f98b41f0fc1b949254d513ceaed51
push id4932
push userjlund@mozilla.com
push dateMon, 10 Aug 2015 18:23:06 +0000
treeherdermozilla-esr52@6dd5a4f5f745 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs952139, 911972
milestone41.0a1
backs out465dfc26cccbf2751dece5371f389fc54f7e4b23
bd11384b3241596c4ab1b4bb95a0fecbbaaf811d
Backed out changesets 465dfc26cccb and bd11384b3241 (bug 952139) because it depends on bug 911972.
dom/messagechannel/tests/test_messageChannel_pref.html
dom/workers/test/serviceworkers/test_serviceworker_interfaces.js
dom/workers/test/test_worker_interfaces.js
modules/libpref/init/all.js
testing/web-platform/meta/html/dom/interfaces.html.ini
testing/web-platform/meta/webmessaging/Channel_MessagePort_initial_disabled.htm.ini
testing/web-platform/meta/webmessaging/Channel_MessagePort_onmessage_start.htm.ini
testing/web-platform/meta/webmessaging/Channel_postMessage_DataCloneErr.htm.ini
testing/web-platform/meta/webmessaging/Channel_postMessage_clone_port.htm.ini
testing/web-platform/meta/webmessaging/Channel_postMessage_clone_port_error.htm.ini
testing/web-platform/meta/webmessaging/Channel_postMessage_event_properties.htm.ini
testing/web-platform/meta/webmessaging/Channel_postMessage_ports_readonly_array.htm.ini
testing/web-platform/meta/webmessaging/Channel_postMessage_target_source.htm.ini
testing/web-platform/meta/webmessaging/Transferred_objects_unusable.sub.htm.ini
testing/web-platform/meta/webmessaging/event.ports.sub.htm.ini
testing/web-platform/meta/webmessaging/message-channels/001.html.ini
testing/web-platform/meta/webmessaging/message-channels/002.html.ini
testing/web-platform/meta/webmessaging/message-channels/003.html.ini
testing/web-platform/meta/webmessaging/message-channels/004.html.ini
testing/web-platform/meta/webmessaging/postMessage_MessagePorts_sorigin.htm.ini
testing/web-platform/meta/webmessaging/postMessage_MessagePorts_xorigin.sub.htm.ini
testing/web-platform/meta/webmessaging/without-ports/023.html.ini
testing/web-platform/meta/webmessaging/without-ports/024.html.ini
testing/web-platform/meta/webmessaging/without-ports/025.html.ini
testing/web-platform/meta/workers/MessagePort_initial_disabled.htm.ini
testing/web-platform/meta/workers/MessagePort_onmessage_start.htm.ini
testing/web-platform/meta/workers/postMessage_clone_port.htm.ini
testing/web-platform/meta/workers/postMessage_clone_port_error.htm.ini
testing/web-platform/meta/workers/postMessage_event_properties.htm.ini
testing/web-platform/meta/workers/postMessage_ports_readonly_array.htm.ini
testing/web-platform/meta/workers/postMessage_target_source.htm.ini
testing/web-platform/meta/workers/semantics/multiple-workers/008.html.ini
--- a/dom/messagechannel/tests/test_messageChannel_pref.html
+++ b/dom/messagechannel/tests/test_messageChannel_pref.html
@@ -23,20 +23,14 @@ https://bugzilla.mozilla.org/show_bug.cg
       ok(what, "Should MessageChannel exist?");
     } catch(e) {
       ok(!what, "Should MessageChannel exist?");
     }
   }
 
   SimpleTest.waitForExplicitFinish();
 
-  SpecialPowers.pushPrefEnv({"set": [["dom.messageChannel.enabled", false]]},
-  function() {
-    runTest(false);
-    SpecialPowers.pushPrefEnv({"set": [["dom.messageChannel.enabled", true]]},
-    function() {
-      runTest(true);
-      SimpleTest.finish();
-    });
-  });
+  runTest(false);
+  SpecialPowers.pushPrefEnv({"set": [["dom.messageChannel.enabled", true]]},
+                            function() { runTest(true); SimpleTest.finish(); });
   </script>
 </body>
 </html>
--- a/dom/workers/test/serviceworkers/test_serviceworker_interfaces.js
+++ b/dom/workers/test/serviceworkers/test_serviceworker_interfaces.js
@@ -142,18 +142,16 @@ var interfaceNamesInGlobalScope =
     "IDBRequest",
 // IMPORTANT: Do not change this list without review from a DOM peer!
     "IDBTransaction",
 // IMPORTANT: Do not change this list without review from a DOM peer!
     "IDBVersionChangeEvent",
 // IMPORTANT: Do not change this list without review from a DOM peer!
     "ImageData",
 // IMPORTANT: Do not change this list without review from a DOM peer!
-    "MessageChannel",
-// IMPORTANT: Do not change this list without review from a DOM peer!
     "MessageEvent",
 // IMPORTANT: Do not change this list without review from a DOM peer!
     "MessagePort",
 // IMPORTANT: Do not change this list without review from a DOM peer!
     "Performance",
 // IMPORTANT: Do not change this list without review from a DOM peer!
     "PerformanceEntry",
 // IMPORTANT: Do not change this list without review from a DOM peer!
--- a/dom/workers/test/test_worker_interfaces.js
+++ b/dom/workers/test/test_worker_interfaces.js
@@ -134,18 +134,16 @@ var interfaceNamesInGlobalScope =
     "IDBRequest",
 // IMPORTANT: Do not change this list without review from a DOM peer!
     "IDBTransaction",
 // IMPORTANT: Do not change this list without review from a DOM peer!
     "IDBVersionChangeEvent",
 // IMPORTANT: Do not change this list without review from a DOM peer!
     "ImageData",
 // IMPORTANT: Do not change this list without review from a DOM peer!
-    "MessageChannel",
-// IMPORTANT: Do not change this list without review from a DOM peer!
     "MessageEvent",
 // IMPORTANT: Do not change this list without review from a DOM peer!
     "MessagePort",
 // IMPORTANT: Do not change this list without review from a DOM peer!
     "Performance",
 // IMPORTANT: Do not change this list without review from a DOM peer!
     "PerformanceEntry",
 // IMPORTANT: Do not change this list without review from a DOM peer!
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -4791,19 +4791,16 @@ pref("dom.caches.enabled", true);
 // supported will be disabled. This threshold can be adjusted to suit other
 // platforms; and set to 0 to disable the low-memory check altogether.
 pref("camera.control.low_memory_thresholdMB", 404);
 #endif
 
 // UDPSocket API
 pref("dom.udpsocket.enabled", false);
 
-// MessageChannel enabled by default.
-pref("dom.messageChannel.enabled", true);
-
 // Disable before keyboard events and after keyboard events by default.
 pref("dom.beforeAfterKeyboardEvent.enabled", false);
 
 // Presentation API
 pref("dom.presentation.enabled", false);
 pref("dom.presentation.tcp_server.debug", false);
 
 // Use raw ICU instead of CoreServices API in Unicode collation
--- a/testing/web-platform/meta/html/dom/interfaces.html.ini
+++ b/testing/web-platform/meta/html/dom/interfaces.html.ini
@@ -2377,16 +2377,34 @@
     expected: FAIL
 
   [ImageBitmap interface: attribute height]
     expected: FAIL
 
   [MessageEvent interface: operation initMessageEvent(DOMString,boolean,boolean,any,DOMString,DOMString,[object Object\],[object Object\],MessagePort)]
     expected: FAIL
 
+  [MessageChannel interface: existence and properties of interface object]
+    expected: FAIL
+
+  [MessageChannel interface object length]
+    expected: FAIL
+
+  [MessageChannel interface: existence and properties of interface prototype object]
+    expected: FAIL
+
+  [MessageChannel interface: existence and properties of interface prototype object's "constructor" property]
+    expected: FAIL
+
+  [MessageChannel interface: attribute port1]
+    expected: FAIL
+
+  [MessageChannel interface: attribute port2]
+    expected: FAIL
+
   [PortCollection interface: existence and properties of interface object]
     expected: FAIL
 
   [PortCollection interface object length]
     expected: FAIL
 
   [PortCollection interface: existence and properties of interface prototype object]
     expected: FAIL
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/meta/webmessaging/Channel_MessagePort_initial_disabled.htm.ini
@@ -0,0 +1,6 @@
+[Channel_MessagePort_initial_disabled.htm]
+  type: testharness
+  expected: ERROR
+  [Test Description: A port message queue can be enabled or disabled, and is initially disabled.]
+    expected: NOTRUN
+
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/meta/webmessaging/Channel_MessagePort_onmessage_start.htm.ini
@@ -0,0 +1,6 @@
+[Channel_MessagePort_onmessage_start.htm]
+  type: testharness
+  expected: ERROR
+  [Test Description: The first time a MessagePort object's onmessage IDL attribute is set, the port's port message queue must be enabled, as if the start() method had been called.]
+    expected: NOTRUN
+
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/meta/webmessaging/Channel_postMessage_DataCloneErr.htm.ini
@@ -0,0 +1,5 @@
+[Channel_postMessage_DataCloneErr.htm]
+  type: testharness
+  [Throw a DataCloneError when a host object (e.g. a DOM node) is used with postMessage.]
+    expected: FAIL
+
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/meta/webmessaging/Channel_postMessage_clone_port.htm.ini
@@ -0,0 +1,6 @@
+[Channel_postMessage_clone_port.htm]
+  type: testharness
+  expected: ERROR
+  [Test Description: Test Description: When the user agent is to clone a port original port, with the clone being owned by owner, it must return a new MessagePort object]
+    expected: NOTRUN
+
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/meta/webmessaging/Channel_postMessage_clone_port_error.htm.ini
@@ -0,0 +1,5 @@
+[Channel_postMessage_clone_port_error.htm]
+  type: testharness
+  [Test Description: Throw a DataCloneError if transfer array in postMessage contains source port.]
+    expected: FAIL
+
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/meta/webmessaging/Channel_postMessage_event_properties.htm.ini
@@ -0,0 +1,6 @@
+[Channel_postMessage_event_properties.htm]
+  type: testharness
+  expected: ERROR
+  [Test Description: The postMessage() method - Create an event that uses the MessageEvent interface, with the name message, which does not bubble and is not cancelable.]
+    expected: NOTRUN
+
--- a/testing/web-platform/meta/webmessaging/Channel_postMessage_ports_readonly_array.htm.ini
+++ b/testing/web-platform/meta/webmessaging/Channel_postMessage_ports_readonly_array.htm.ini
@@ -1,5 +1,6 @@
 [Channel_postMessage_ports_readonly_array.htm]
   type: testharness
+  expected: ERROR
   [Test Description: The postMessage() method - Make new ports into a read only array.]
-    expected: FAIL
+    expected: NOTRUN
 
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/meta/webmessaging/Channel_postMessage_target_source.htm.ini
@@ -0,0 +1,6 @@
+[Channel_postMessage_target_source.htm]
+  type: testharness
+  expected: ERROR
+  [Test Description: The postMessage() method - Let target port be the port with which source port is entangled, if any.]
+    expected: NOTRUN
+
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/meta/webmessaging/Transferred_objects_unusable.sub.htm.ini
@@ -0,0 +1,9 @@
+[Transferred_objects_unusable.sub.htm]
+  type: testharness
+  expected: TIMEOUT
+  [Test Description: Objects listed in transfer are transferred, not just cloned, meaning that they are no longer usable on the sending side.]
+    expected: NOTRUN
+
+  [MessageChannel is supported.]
+    expected: FAIL
+
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/meta/webmessaging/event.ports.sub.htm.ini
@@ -0,0 +1,9 @@
+[event.ports.sub.htm]
+  type: testharness
+  expected: TIMEOUT
+  [Test Description: event.ports returns the MessagePort array sent with the message.]
+    expected: NOTRUN
+
+  [MessageChannel is supported.]
+    expected: FAIL
+
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/meta/webmessaging/message-channels/001.html.ini
@@ -0,0 +1,5 @@
+[001.html]
+  type: testharness
+  [basic messagechannel test]
+    expected: FAIL
+
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/meta/webmessaging/message-channels/002.html.ini
@@ -0,0 +1,5 @@
+[002.html]
+  type: testharness
+  [without start()]
+    expected: FAIL
+
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/meta/webmessaging/message-channels/003.html.ini
@@ -0,0 +1,5 @@
+[003.html]
+  type: testharness
+  [onmessage implied start()]
+    expected: FAIL
+
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/meta/webmessaging/message-channels/004.html.ini
@@ -0,0 +1,5 @@
+[004.html]
+  type: testharness
+  [cross-document channel]
+    expected: FAIL
+
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/meta/webmessaging/postMessage_MessagePorts_sorigin.htm.ini
@@ -0,0 +1,9 @@
+[postMessage_MessagePorts_sorigin.htm]
+  type: testharness
+  expected: TIMEOUT
+  [Test Description: postMessage to same-origin iframe with MessagePort array containing 100 ports.]
+    expected: NOTRUN
+
+  [MessageChannel is supported.]
+    expected: FAIL
+
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/meta/webmessaging/postMessage_MessagePorts_xorigin.sub.htm.ini
@@ -0,0 +1,9 @@
+[postMessage_MessagePorts_xorigin.sub.htm]
+  type: testharness
+  expected: TIMEOUT
+  [Test Description: postMessage to cross-origin iframe with MessagePort array containing 100 ports.]
+    expected: NOTRUN
+
+  [MessageChannel is supported.]
+    expected: FAIL
+
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/meta/webmessaging/without-ports/023.html.ini
@@ -0,0 +1,5 @@
+[023.html]
+  type: testharness
+  [Object cloning: own properties only, don't follow prototype]
+    expected: FAIL
+
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/meta/webmessaging/without-ports/024.html.ini
@@ -0,0 +1,5 @@
+[024.html]
+  type: testharness
+  [Object cloning: throw an exception if function values encountered]
+    expected: FAIL
+
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/meta/webmessaging/without-ports/025.html.ini
@@ -0,0 +1,8 @@
+[025.html]
+  type: testharness
+  [MessagePort constructor properties]
+    expected: FAIL
+
+  [Worker MessageChannel's port should be an instance of MessagePort]
+    expected: FAIL
+
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/meta/workers/MessagePort_initial_disabled.htm.ini
@@ -0,0 +1,6 @@
+[MessagePort_initial_disabled.htm]
+  type: testharness
+  [ MessageChannel: port message queue is initially disabled ]
+    expected: FAIL
+    bug: https://bugzilla.mozilla.org/show_bug.cgi?id=952139
+
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/meta/workers/MessagePort_onmessage_start.htm.ini
@@ -0,0 +1,6 @@
+[MessagePort_onmessage_start.htm]
+  type: testharness
+  [ MessageChannel: port.onmessage enables message queue ]
+    expected: FAIL
+    bug: https://bugzilla.mozilla.org/show_bug.cgi?id=952139
+
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/meta/workers/postMessage_clone_port.htm.ini
@@ -0,0 +1,5 @@
+[postMessage_clone_port.htm]
+  type: testharness
+  [ postMessage(): clone a port ]
+    expected: FAIL
+
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/meta/workers/postMessage_clone_port_error.htm.ini
@@ -0,0 +1,5 @@
+[postMessage_clone_port_error.htm]
+  type: testharness
+  [ postMessage(): cloning source port ]
+    expected: FAIL
+
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/meta/workers/postMessage_event_properties.htm.ini
@@ -0,0 +1,6 @@
+[postMessage_event_properties.htm]
+  type: testharness
+  [ postMessage(): MessageEvent properties ]
+    expected: FAIL
+    bug: https://bugzilla.mozilla.org/show_bug.cgi?id=952139
+
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/meta/workers/postMessage_ports_readonly_array.htm.ini
@@ -0,0 +1,5 @@
+[postMessage_ports_readonly_array.htm]
+  type: testharness
+  [ postMessage(): read-only ports array ]
+    expected: FAIL
+
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/meta/workers/postMessage_target_source.htm.ini
@@ -0,0 +1,5 @@
+[postMessage_target_source.htm]
+  type: testharness
+  [ postMessage(): target port and source port ]
+    expected: FAIL
+
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/meta/workers/semantics/multiple-workers/008.html.ini
@@ -0,0 +1,6 @@
+[008.html]
+  type: testharness
+  expected: ERROR
+  [messagechannel in shared worker]
+    expected: TIMEOUT
+