Summary

Harness status: OK

Found 1 tests

Details

ResultTest NameMessage
PassTest Description: postMessage with duplicate transfer objects raises DataCloneError exception.
Asserts run
Pass
assert_throws_dom("DATA_CLONE_ERR", function "function DOMException() { [native code] }", function "function()             {                 assert_own_property(window, "MessageChannel", "window");                 var channel = new MessageChannel();                 TARGET.contentWindow.postMessage(DATA, "*", [channel.port1, channel.port1]);             }")
    at Test.<anonymous> ( /webmessaging/postMessage_dup_transfer_objects.htm:28:13)
Pass
assert_own_property(object "[object Window]", "MessageChannel", "window")
    at  /webmessaging/postMessage_dup_transfer_objects.htm:30:17