Summary

Harness status: OK

Found 3 tests

Details

ResultTest NameMessage
PassTrying to transfer a WebAssembly.Module to this window throws
Asserts run
Pass
assert_throws_dom("DataCloneError", function "() => window.postMessage(module, "*", [module])")
    at Test.<anonymous> ( /wasm/serialization/module/no-transferring.html:14:3)
Pass
assert_throws_dom("DataCloneError", function "() => window.postMessage("test", "*", [module])")
    at Test.<anonymous> ( /wasm/serialization/module/no-transferring.html:15:3)
PassTrying to transfer a WebAssembly.Module to a worker throws
Asserts run
Pass
assert_throws_dom("DataCloneError", function "() => worker.postMessage(module, [module])")
    at Test.<anonymous> ( /wasm/serialization/module/no-transferring.html:21:3)
Pass
assert_throws_dom("DataCloneError", function "() => worker.postMessage("test", [module])")
    at Test.<anonymous> ( /wasm/serialization/module/no-transferring.html:22:3)
PassTrying to transfer a WebAssembly.Module through a MessagePort throws
Asserts run
Pass
assert_throws_dom("DataCloneError", function "() => channel.port1.postMessage(module, [module])")
    at Test.<anonymous> ( /wasm/serialization/module/no-transferring.html:28:3)
Pass
assert_throws_dom("DataCloneError", function "() => channel.port1.postMessage("test", [module])")
    at Test.<anonymous> ( /wasm/serialization/module/no-transferring.html:29:3)