OLD | NEW |
1 Test that the second argument of window.postMessage is ignored or triggers an er
ror if it is not a message port. You should see PASS message '1' through '7', fo
llowed by 'done', with messages 4-7 received below. | 1 Test that the second argument of window.postMessage is ignored or triggers an er
ror if it is not a message port. You should see PASS message '1' through '7', fo
llowed by 'done', with messages 4-7 received below. |
2 | 2 |
3 PASS: Posting message ('1', 1): threw exception TypeError: TransferArray argumen
t must be an object | 3 PASS: Posting message ('1', 1): threw exception TypeError: TransferArray argumen
t must be an object |
4 PASS: Posting message ('1', 1): threw exception TypeError: TransferArray argumen
t must be an object | 4 PASS: Posting message ('1', 1): threw exception TypeError: TransferArray argumen
t must be an object |
5 PASS: Posting message ('2', c): threw exception TypeError: TransferArray argumen
t must be an object | 5 PASS: Posting message ('2', c): threw exception TypeError: TransferArray argumen
t must be an object |
6 PASS: Posting message ('2', c): threw exception TypeError: TransferArray argumen
t must be an object | 6 PASS: Posting message ('2', c): threw exception TypeError: TransferArray argumen
t must be an object |
7 PASS: Posting message ('3', [object Object]): threw exception TypeError: Transfe
rArray argument has no length attribute | 7 PASS: Posting message ('3', [object Object]): threw exception TypeError: Transfe
rArray argument has no length attribute |
8 PASS: Posting message ('3', [object Object]): threw exception TypeError: Transfe
rArray argument has no length attribute | 8 PASS: Posting message ('3', [object Object]): threw exception TypeError: Transfe
rArray argument has no length attribute |
9 PASS: Posting message ('4', [object DOMWindow]) did not throw an exception | 9 PASS: Posting message ('4', [object DOMWindow]) did not throw an exception |
10 PASS: Posting message ('4', [object DOMWindow]) did not throw an exception | 10 PASS: Posting message ('4', [object DOMWindow]) did not throw an exception |
| 11 PASS: Posting message ('4a', *) did not throw an exception |
| 12 PASS: Posting message ('4a', *) did not throw an exception |
11 PASS: Posting message ('5', null) did not throw an exception | 13 PASS: Posting message ('5', null) did not throw an exception |
12 PASS: Posting message ('5', null) did not throw an exception | 14 PASS: Posting message ('5', null) did not throw an exception |
13 PASS: Posting message ('6', undefined) did not throw an exception | 15 PASS: Posting message ('6', undefined) did not throw an exception |
14 PASS: Posting message ('6', undefined) did not throw an exception | 16 PASS: Posting message ('6', undefined) did not throw an exception |
15 PASS: Posting message ('7', [object MessagePort],[object MessagePort]) did not t
hrow an exception | 17 PASS: Posting message ('7', [object MessagePort],[object MessagePort]) did not t
hrow an exception |
| 18 PASS: Posting message ('7a', *) did not throw an exception |
16 PASS: Posting message ('7', [object MessagePort],[object MessagePort]) did not t
hrow an exception | 19 PASS: Posting message ('7', [object MessagePort],[object MessagePort]) did not t
hrow an exception |
17 PASS: Posting message ('2147483648', null) did not throw an exception | 20 PASS: Posting message ('2147483648', null) did not throw an exception |
18 PASS: Posting message ('2147483648', null) did not throw an exception | 21 PASS: Posting message ('2147483648', null) did not throw an exception |
19 PASS: Posting message ('[object MessagePort]', [object MessagePort],[object Mess
agePort]) did not throw an exception | 22 PASS: Posting message ('[object MessagePort]', [object MessagePort],[object Mess
agePort]) did not throw an exception |
20 PASS: Posting message ('[object MessagePort]', [object MessagePort],[object Mess
agePort]) did not throw an exception | 23 PASS: Posting message ('[object MessagePort]', [object MessagePort],[object Mess
agePort]) did not throw an exception |
21 PASS: Posting message ('[object MessagePort],[object MessagePort]', [object Mess
agePort],[object MessagePort]) did not throw an exception | 24 PASS: Posting message ('[object MessagePort],[object MessagePort]', [object Mess
agePort],[object MessagePort]) did not throw an exception |
22 PASS: Posting message ('[object ArrayBuffer]', [object ArrayBuffer]) did not thr
ow an exception | 25 PASS: Posting message ('[object ArrayBuffer]', [object ArrayBuffer]) did not thr
ow an exception |
23 PASS: arrayBuffer neutered | 26 PASS: arrayBuffer neutered |
24 PASS: view neutered | 27 PASS: view neutered |
25 PASS: Posting message ('done', undefined) did not throw an exception | 28 PASS: Posting message ('done', undefined) did not throw an exception |
26 Received message '4' with 0 ports. | 29 Received message '4' with 0 ports. |
27 Received message '4' with 0 ports. | 30 Received message '4' with 0 ports. |
| 31 Received message '4a' with 0 ports. |
| 32 Received message '4a' with 0 ports. |
28 Received message '5' with 0 ports. | 33 Received message '5' with 0 ports. |
29 Received message '5' with 0 ports. | 34 Received message '5' with 0 ports. |
30 Received message '6' with 0 ports. | 35 Received message '6' with 0 ports. |
31 Received message '6' with 0 ports. | 36 Received message '6' with 0 ports. |
32 Received message '7' with 2 ports. | 37 Received message '7' with 2 ports. |
| 38 Received message '7a' with 2 ports. |
33 Received message '7' with 2 ports. | 39 Received message '7' with 2 ports. |
34 Received message '2147483648' with 0 ports. | 40 Received message '2147483648' with 0 ports. |
35 Received message '2147483648' with 0 ports. | 41 Received message '2147483648' with 0 ports. |
36 Received message '[object MessagePort]' with 2 ports. | 42 Received message '[object MessagePort]' with 2 ports. |
37 Received message '[object MessagePort]' with 2 ports. | 43 Received message '[object MessagePort]' with 2 ports. |
38 Received message '[object MessagePort],[object MessagePort]' with 2 ports. | 44 Received message '[object MessagePort],[object MessagePort]' with 2 ports. |
39 Received message '[object ArrayBuffer]' with 0 ports. | 45 Received message '[object ArrayBuffer]' with 0 ports. |
40 Received message 'done' with 0 ports. | 46 Received message 'done' with 0 ports. |
41 | 47 |
OLD | NEW |