OLD | NEW |
1 This test checks the various use cases around sending multiple ports through Wor
kerGlobalScope.postMessage | 1 This test checks the various use cases around sending multiple ports through Wor
kerGlobalScope.postMessage |
2 | 2 |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
4 | 4 |
5 | 5 |
6 PASS event.ports is non-null and zero length when no port sent | 6 PASS event.ports is non-null and zero length when no port sent |
7 PASS event.ports is non-null and zero length when empty array sent | 7 PASS event.ports is non-null and zero length when empty array sent |
8 PASS event.ports contains two ports when two ports sent | 8 PASS event.ports contains two ports when two ports sent |
9 PASS posting a null port did throw: DataCloneError: An object could not be clone
d. | 9 PASS posting a null port did throw: DataCloneError: An object could not be clone
d. |
10 PASS posting a non-port did throw: DataCloneError: An object could not be cloned
. | 10 PASS posting a non-port did throw: DataCloneError: An object could not be cloned
. |
11 PASS event.ports contains two ports when two ports re-sent after 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 | 12 PASS posting a non-array did throw: TypeError: Failed to execute 'postMessage' o
n 'WorkerGlobalScope': Second argument is neither an array, nor does it have ind
exed properties. |
13 PASS posting a non-sequence did throw: DataCloneError: An object could not be cl
oned. | 13 PASS posting a non-sequence did throw: DataCloneError: An object could not be cl
oned. |
14 | 14 |
15 TEST COMPLETE | 15 TEST COMPLETE |
16 | 16 |
OLD | NEW |