| 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: Type error | 3 PASS: Posting message ('1', 1): threw exception TypeError: Type error |
| 4 PASS: Posting message ('1', 1): threw exception TypeError: Type error | 4 PASS: Posting message ('1', 1): threw exception TypeError: Type error |
| 5 PASS: Posting message ('2', c): threw exception TypeError: Type error | 5 PASS: Posting message ('2', c): threw exception TypeError: Type error |
| 6 PASS: Posting message ('2', c): threw exception TypeError: Type error | 6 PASS: Posting message ('2', c): threw exception TypeError: Type error |
| 7 PASS: Posting message ('3', [object Object]): threw exception TypeError: Type er
ror | 7 PASS: Posting message ('3', [object Object]): threw exception TypeError: Type er
ror |
| 8 PASS: Posting message ('3', [object Object]): threw exception TypeError: Type er
ror | 8 PASS: Posting message ('3', [object Object]): threw exception TypeError: Type er
ror |
| 9 FAIL: Posting message ('4', [object DOMWindow]): threw exception TypeError: Type
error | 9 FAIL: Posting message ('4', [object DOMWindow]): threw exception TypeError: Type
error |
| 10 FAIL: Posting message ('4', [object DOMWindow]): threw exception TypeError: Type
error | 10 FAIL: Posting message ('4', [object DOMWindow]): threw exception TypeError: Type
error |
| 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 FAIL: Posting message ('7', [object MessagePort],[object MessagePort]): threw ex
ception TypeError: Type error | 17 FAIL: Posting message ('7', [object MessagePort],[object MessagePort]): threw ex
ception TypeError: Type error |
| 18 PASS: Posting message ('7a', *) did not throw an exception |
| 16 FAIL: Posting message ('7', [object MessagePort],[object MessagePort]): threw ex
ception TypeError: Type error | 19 FAIL: Posting message ('7', [object MessagePort],[object MessagePort]): threw ex
ception TypeError: Type error |
| 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 FAIL: Posting message ('[object MessagePort]', [object MessagePort],[object Mess
agePort]): threw exception TypeError: Type error | 22 FAIL: Posting message ('[object MessagePort]', [object MessagePort],[object Mess
agePort]): threw exception TypeError: Type error |
| 20 FAIL: Posting message ('[object MessagePort]', [object MessagePort],[object Mess
agePort]): threw exception TypeError: Type error | 23 FAIL: Posting message ('[object MessagePort]', [object MessagePort],[object Mess
agePort]): threw exception TypeError: Type error |
| 21 FAIL: Posting message ('[object MessagePort],[object MessagePort]', [object Mess
agePort],[object MessagePort]): threw exception TypeError: Type error | 24 FAIL: Posting message ('[object MessagePort],[object MessagePort]', [object Mess
agePort],[object MessagePort]): threw exception TypeError: Type error |
| 22 FAIL: Posting message ('[object ArrayBuffer]', [object ArrayBuffer]): threw exce
ption TypeError: Type error | 25 FAIL: Posting message ('[object ArrayBuffer]', [object ArrayBuffer]): threw exce
ption TypeError: Type error |
| 23 FAIL: arrayBuffer not neutered; byteLength = 30 | 26 FAIL: arrayBuffer not neutered; byteLength = 30 |
| 24 FAIL: view was not neutered; length = 10 | 27 FAIL: view was not neutered; length = 10 |
| 25 PASS: Posting message ('done', undefined) did not throw an exception | 28 PASS: Posting message ('done', undefined) did not throw an exception |
| 29 Received message '4a' with 0 ports. |
| 30 Received message '4a' with 0 ports. |
| 26 Received message '5' with 0 ports. | 31 Received message '5' with 0 ports. |
| 27 Received message '5' with 0 ports. | 32 Received message '5' with 0 ports. |
| 28 Received message '6' with 0 ports. | 33 Received message '6' with 0 ports. |
| 29 Received message '6' with 0 ports. | 34 Received message '6' with 0 ports. |
| 35 Received message '7a' with 2 ports. |
| 30 Received message '2147483648' with 0 ports. | 36 Received message '2147483648' with 0 ports. |
| 31 Received message '2147483648' with 0 ports. | 37 Received message '2147483648' with 0 ports. |
| 32 Received message 'done' with 0 ports. | 38 Received message 'done' with 0 ports. |
| 33 | 39 |
| OLD | NEW |