mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Backed out changesets 465dfc26cccb and bd11384b3241 (bug 952139) because it depends on bug 911972.
This commit is contained in:
parent
da7ce0ee62
commit
d9740f2e8d
@ -28,15 +28,9 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=677638
|
|||||||
|
|
||||||
SimpleTest.waitForExplicitFinish();
|
SimpleTest.waitForExplicitFinish();
|
||||||
|
|
||||||
SpecialPowers.pushPrefEnv({"set": [["dom.messageChannel.enabled", false]]},
|
|
||||||
function() {
|
|
||||||
runTest(false);
|
runTest(false);
|
||||||
SpecialPowers.pushPrefEnv({"set": [["dom.messageChannel.enabled", true]]},
|
SpecialPowers.pushPrefEnv({"set": [["dom.messageChannel.enabled", true]]},
|
||||||
function() {
|
function() { runTest(true); SimpleTest.finish(); });
|
||||||
runTest(true);
|
|
||||||
SimpleTest.finish();
|
|
||||||
});
|
|
||||||
});
|
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -146,8 +146,6 @@ var interfaceNamesInGlobalScope =
|
|||||||
"IDBVersionChangeEvent",
|
"IDBVersionChangeEvent",
|
||||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||||
"ImageData",
|
"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!
|
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||||
"MessageEvent",
|
"MessageEvent",
|
||||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||||
|
@ -138,8 +138,6 @@ var interfaceNamesInGlobalScope =
|
|||||||
"IDBVersionChangeEvent",
|
"IDBVersionChangeEvent",
|
||||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||||
"ImageData",
|
"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!
|
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||||
"MessageEvent",
|
"MessageEvent",
|
||||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||||
|
@ -4796,9 +4796,6 @@ pref("camera.control.low_memory_thresholdMB", 404);
|
|||||||
// UDPSocket API
|
// UDPSocket API
|
||||||
pref("dom.udpsocket.enabled", false);
|
pref("dom.udpsocket.enabled", false);
|
||||||
|
|
||||||
// MessageChannel enabled by default.
|
|
||||||
pref("dom.messageChannel.enabled", true);
|
|
||||||
|
|
||||||
// Disable before keyboard events and after keyboard events by default.
|
// Disable before keyboard events and after keyboard events by default.
|
||||||
pref("dom.beforeAfterKeyboardEvent.enabled", false);
|
pref("dom.beforeAfterKeyboardEvent.enabled", false);
|
||||||
|
|
||||||
|
@ -2382,6 +2382,24 @@
|
|||||||
[MessageEvent interface: operation initMessageEvent(DOMString,boolean,boolean,any,DOMString,DOMString,[object Object\],[object Object\],MessagePort)]
|
[MessageEvent interface: operation initMessageEvent(DOMString,boolean,boolean,any,DOMString,DOMString,[object Object\],[object Object\],MessagePort)]
|
||||||
expected: FAIL
|
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]
|
[PortCollection interface: existence and properties of interface object]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
|
@ -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
|
||||||
|
|
@ -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
|
||||||
|
|
@ -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
|
||||||
|
|
@ -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
|
||||||
|
|
@ -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
|
||||||
|
|
@ -1,5 +1,6 @@
|
|||||||
[Channel_postMessage_ports_readonly_array.htm]
|
[Channel_postMessage_ports_readonly_array.htm]
|
||||||
type: testharness
|
type: testharness
|
||||||
|
expected: ERROR
|
||||||
[Test Description: The postMessage() method - Make new ports into a read only array.]
|
[Test Description: The postMessage() method - Make new ports into a read only array.]
|
||||||
expected: FAIL
|
expected: NOTRUN
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
|
@ -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
|
||||||
|
|
@ -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
|
||||||
|
|
@ -0,0 +1,5 @@
|
|||||||
|
[001.html]
|
||||||
|
type: testharness
|
||||||
|
[basic messagechannel test]
|
||||||
|
expected: FAIL
|
||||||
|
|
@ -0,0 +1,5 @@
|
|||||||
|
[002.html]
|
||||||
|
type: testharness
|
||||||
|
[without start()]
|
||||||
|
expected: FAIL
|
||||||
|
|
@ -0,0 +1,5 @@
|
|||||||
|
[003.html]
|
||||||
|
type: testharness
|
||||||
|
[onmessage implied start()]
|
||||||
|
expected: FAIL
|
||||||
|
|
@ -0,0 +1,5 @@
|
|||||||
|
[004.html]
|
||||||
|
type: testharness
|
||||||
|
[cross-document channel]
|
||||||
|
expected: FAIL
|
||||||
|
|
@ -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
|
||||||
|
|
@ -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
|
||||||
|
|
@ -0,0 +1,5 @@
|
|||||||
|
[023.html]
|
||||||
|
type: testharness
|
||||||
|
[Object cloning: own properties only, don't follow prototype]
|
||||||
|
expected: FAIL
|
||||||
|
|
@ -0,0 +1,5 @@
|
|||||||
|
[024.html]
|
||||||
|
type: testharness
|
||||||
|
[Object cloning: throw an exception if function values encountered]
|
||||||
|
expected: FAIL
|
||||||
|
|
@ -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
|
||||||
|
|
@ -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
|
||||||
|
|
@ -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
|
||||||
|
|
@ -0,0 +1,5 @@
|
|||||||
|
[postMessage_clone_port.htm]
|
||||||
|
type: testharness
|
||||||
|
[ postMessage(): clone a port ]
|
||||||
|
expected: FAIL
|
||||||
|
|
@ -0,0 +1,5 @@
|
|||||||
|
[postMessage_clone_port_error.htm]
|
||||||
|
type: testharness
|
||||||
|
[ postMessage(): cloning source port ]
|
||||||
|
expected: FAIL
|
||||||
|
|
@ -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
|
||||||
|
|
@ -0,0 +1,5 @@
|
|||||||
|
[postMessage_ports_readonly_array.htm]
|
||||||
|
type: testharness
|
||||||
|
[ postMessage(): read-only ports array ]
|
||||||
|
expected: FAIL
|
||||||
|
|
@ -0,0 +1,5 @@
|
|||||||
|
[postMessage_target_source.htm]
|
||||||
|
type: testharness
|
||||||
|
[ postMessage(): target port and source port ]
|
||||||
|
expected: FAIL
|
||||||
|
|
@ -0,0 +1,6 @@
|
|||||||
|
[008.html]
|
||||||
|
type: testharness
|
||||||
|
expected: ERROR
|
||||||
|
[messagechannel in shared worker]
|
||||||
|
expected: TIMEOUT
|
||||||
|
|
Loading…
Reference in New Issue
Block a user