Rubber-stamped by Brady Eidson.
[webbrowser.git] / LayoutTests / fast / workers / worker-context-multi-port-expected.txt
blob9ab0991480a45b007427566db8ac3aefc4e4d3c3
1 This test checks the various use cases around sending multiple ports through WorkerGlobalScope.postMessage
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 PASS event.ports is null when no port sent
7 PASS event.ports is null when empty array sent
8 PASS event.ports contains two ports when two ports sent
9 PASS posting a null port did throw: [object DOMException]
10 PASS posting a non-port did throw: TypeError: Type error
11 PASS event.ports contains two ports when two ports re-sent after error
12 PASS posting a non-array did throw: TypeError: Type error
13 PASS posting a non-sequence did throw: TypeError: Type error
15 TEST COMPLETE