| OLD | NEW |
| 1 This tests the constructor for the MessageEvent DOM class. | 1 This tests the constructor for the MessageEvent DOM class. |
| 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 new MessageEvent('eventType').bubbles is false | 6 PASS new MessageEvent('eventType').bubbles is false |
| 7 PASS new MessageEvent('eventType').cancelable is false | 7 PASS new MessageEvent('eventType').cancelable is false |
| 8 PASS new MessageEvent('eventType').data is null | 8 PASS new MessageEvent('eventType').data is null |
| 9 PASS new MessageEvent('eventType').origin is "" | 9 PASS new MessageEvent('eventType').origin is "" |
| 10 PASS new MessageEvent('eventType').lastEventId is "" | 10 PASS new MessageEvent('eventType').lastEventId is "" |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 PASS new MessageEvent('eventType', { source: NaN }).source is null | 73 PASS new MessageEvent('eventType', { source: NaN }).source is null |
| 74 PASS new MessageEvent('eventType', { source: {valueOf: function () { return wind
ow; } } }).source == window is false | 74 PASS new MessageEvent('eventType', { source: {valueOf: function () { return wind
ow; } } }).source == window is false |
| 75 PASS new MessageEvent('eventType', { get source() { return 123; } }).source is n
ull | 75 PASS new MessageEvent('eventType', { get source() { return 123; } }).source is n
ull |
| 76 PASS new MessageEvent('eventType', { get source() { throw 'MessageEvent Error';
} }) threw exception MessageEvent Error. | 76 PASS new MessageEvent('eventType', { get source() { throw 'MessageEvent Error';
} }) threw exception MessageEvent Error. |
| 77 PASS new MessageEvent('eventType', { ports: [channel.port1, channel.port2, chann
el2.port1] }).ports[0] is channel.port1 | 77 PASS new MessageEvent('eventType', { ports: [channel.port1, channel.port2, chann
el2.port1] }).ports[0] is channel.port1 |
| 78 PASS new MessageEvent('eventType', { ports: [channel.port1, channel.port2, chann
el2.port1] }).ports[1] is channel.port2 | 78 PASS new MessageEvent('eventType', { ports: [channel.port1, channel.port2, chann
el2.port1] }).ports[1] is channel.port2 |
| 79 PASS new MessageEvent('eventType', { ports: [channel.port1, channel.port2, chann
el2.port1] }).ports[2] is channel2.port1 | 79 PASS new MessageEvent('eventType', { ports: [channel.port1, channel.port2, chann
el2.port1] }).ports[2] is channel2.port1 |
| 80 PASS new MessageEvent('eventType', { ports: [] }).ports is [] | 80 PASS new MessageEvent('eventType', { ports: [] }).ports is [] |
| 81 PASS new MessageEvent('eventType', { ports: undefined }).ports is [] | 81 PASS new MessageEvent('eventType', { ports: undefined }).ports is [] |
| 82 PASS new MessageEvent('eventType', { ports: null }).ports is [] | 82 PASS new MessageEvent('eventType', { ports: null }).ports is [] |
| 83 PASS new MessageEvent('eventType', { ports: [1, 2, 3] }).ports[2] threw exceptio
n TypeError: Type error. | 83 PASS new MessageEvent('eventType', { ports: [1, 2, 3] }).ports[2] threw exceptio
n TypeError: Invalid Array element type. |
| 84 PASS new MessageEvent('eventType', { ports: test_object }).ports threw exception
TypeError: Type error. | 84 PASS new MessageEvent('eventType', { ports: test_object }).ports threw exception
TypeError: Type error. |
| 85 PASS new MessageEvent('eventType', { ports: document }).ports threw exception Ty
peError: Type error. | 85 PASS new MessageEvent('eventType', { ports: document }).ports threw exception Ty
peError: Type error. |
| 86 PASS new MessageEvent('eventType', { ports: false }).ports threw exception TypeE
rror: Type error. | 86 PASS new MessageEvent('eventType', { ports: false }).ports threw exception TypeE
rror: Type error. |
| 87 PASS new MessageEvent('eventType', { ports: true }).ports threw exception TypeEr
ror: Type error. | 87 PASS new MessageEvent('eventType', { ports: true }).ports threw exception TypeEr
ror: Type error. |
| 88 PASS new MessageEvent('eventType', { ports: '' }).ports threw exception TypeErro
r: Type error. | 88 PASS new MessageEvent('eventType', { ports: '' }).ports threw exception TypeErro
r: Type error. |
| 89 PASS new MessageEvent('eventType', { ports: 'chocolate' }).ports threw exception
TypeError: Type error. | 89 PASS new MessageEvent('eventType', { ports: 'chocolate' }).ports threw exception
TypeError: Type error. |
| 90 PASS new MessageEvent('eventType', { ports: 12345 }).ports threw exception TypeE
rror: Type error. | 90 PASS new MessageEvent('eventType', { ports: 12345 }).ports threw exception TypeE
rror: Type error. |
| 91 PASS new MessageEvent('eventType', { ports: 18446744073709551615 }).ports threw
exception TypeError: Type error. | 91 PASS new MessageEvent('eventType', { ports: 18446744073709551615 }).ports threw
exception TypeError: Type error. |
| 92 PASS new MessageEvent('eventType', { ports: NaN }).ports threw exception TypeErr
or: Type error. | 92 PASS new MessageEvent('eventType', { ports: NaN }).ports threw exception TypeErr
or: Type error. |
| 93 PASS new MessageEvent('eventType', { get ports() { return 123; } }).ports threw
exception TypeError: Type error. | 93 PASS new MessageEvent('eventType', { get ports() { return 123; } }).ports threw
exception TypeError: Type error. |
| 94 PASS new MessageEvent('eventType', { get ports() { throw 'MessageEvent Error'; }
}) threw exception MessageEvent Error. | 94 PASS new MessageEvent('eventType', { get ports() { throw 'MessageEvent Error'; }
}) threw exception MessageEvent Error. |
| 95 PASS new MessageEvent('eventType', { ports: {valueOf: function () { return [chan
nel.port1, channel.port2, channel.port2]; } } }).ports[0] threw exception TypeEr
ror: Type error. | 95 PASS new MessageEvent('eventType', { ports: {valueOf: function () { return [chan
nel.port1, channel.port2, channel.port2]; } } }).ports[0] threw exception TypeEr
ror: Type error. |
| 96 PASS new MessageEvent('eventType', { bubbles: true, cancelable: true, data: test
_object, origin: 'wonderful', lastEventId: 'excellent', source: window, ports: [
channel.port1, channel.port2, channel2.port1] }).bubbles is true | 96 PASS new MessageEvent('eventType', { bubbles: true, cancelable: true, data: test
_object, origin: 'wonderful', lastEventId: 'excellent', source: window, ports: [
channel.port1, channel.port2, channel2.port1] }).bubbles is true |
| 97 PASS new MessageEvent('eventType', { bubbles: true, cancelable: true, data: test
_object, origin: 'wonderful', lastEventId: 'excellent', source: window, ports: [
channel.port1, channel.port2, channel2.port1] }).cancelable is true | 97 PASS new MessageEvent('eventType', { bubbles: true, cancelable: true, data: test
_object, origin: 'wonderful', lastEventId: 'excellent', source: window, ports: [
channel.port1, channel.port2, channel2.port1] }).cancelable is true |
| 98 PASS new MessageEvent('eventType', { bubbles: true, cancelable: true, data: test
_object, origin: 'wonderful', lastEventId: 'excellent', source: window, ports: [
channel.port1, channel.port2, channel2.port1] }).data is test_object | 98 PASS new MessageEvent('eventType', { bubbles: true, cancelable: true, data: test
_object, origin: 'wonderful', lastEventId: 'excellent', source: window, ports: [
channel.port1, channel.port2, channel2.port1] }).data is test_object |
| 99 PASS new MessageEvent('eventType', { bubbles: true, cancelable: true, data: test
_object, origin: 'wonderful', lastEventId: 'excellent', source: window, ports: [
channel.port1, channel.port2, channel2.port1] }).origin is "wonderful" | 99 PASS new MessageEvent('eventType', { bubbles: true, cancelable: true, data: test
_object, origin: 'wonderful', lastEventId: 'excellent', source: window, ports: [
channel.port1, channel.port2, channel2.port1] }).origin is "wonderful" |
| 100 PASS new MessageEvent('eventType', { bubbles: true, cancelable: true, data: test
_object, origin: 'wonderful', lastEventId: 'excellent', source: window, ports: [
channel.port1, channel.port2, channel2.port1] }).lastEventId is "excellent" | 100 PASS new MessageEvent('eventType', { bubbles: true, cancelable: true, data: test
_object, origin: 'wonderful', lastEventId: 'excellent', source: window, ports: [
channel.port1, channel.port2, channel2.port1] }).lastEventId is "excellent" |
| 101 PASS new MessageEvent('eventType', { bubbles: true, cancelable: true, data: test
_object, origin: 'wonderful', lastEventId: 'excellent', source: window, ports: [
channel.port1, channel.port2, channel2.port1] }).source is window | 101 PASS new MessageEvent('eventType', { bubbles: true, cancelable: true, data: test
_object, origin: 'wonderful', lastEventId: 'excellent', source: window, ports: [
channel.port1, channel.port2, channel2.port1] }).source is window |
| 102 PASS new MessageEvent('eventType', { bubbles: true, cancelable: true, data: test
_object, origin: 'wonderful', lastEventId: 'excellent', source: window, ports: [
channel.port1, channel.port2, channel2.port1] }).ports[0] is channel.port1 | 102 PASS new MessageEvent('eventType', { bubbles: true, cancelable: true, data: test
_object, origin: 'wonderful', lastEventId: 'excellent', source: window, ports: [
channel.port1, channel.port2, channel2.port1] }).ports[0] is channel.port1 |
| 103 PASS new MessageEvent('eventType', { bubbles: true, cancelable: true, data: test
_object, origin: 'wonderful', lastEventId: 'excellent', source: window, ports: [
channel.port1, channel.port2, channel2.port1] }).ports[1] is channel.port2 | 103 PASS new MessageEvent('eventType', { bubbles: true, cancelable: true, data: test
_object, origin: 'wonderful', lastEventId: 'excellent', source: window, ports: [
channel.port1, channel.port2, channel2.port1] }).ports[1] is channel.port2 |
| 104 PASS new MessageEvent('eventType', { bubbles: true, cancelable: true, data: test
_object, origin: 'wonderful', lastEventId: 'excellent', source: window, ports: [
channel.port1, channel.port2, channel2.port1] }).ports[2] is channel2.port1 | 104 PASS new MessageEvent('eventType', { bubbles: true, cancelable: true, data: test
_object, origin: 'wonderful', lastEventId: 'excellent', source: window, ports: [
channel.port1, channel.port2, channel2.port1] }).ports[2] is channel2.port1 |
| 105 PASS successfullyParsed is true | 105 PASS successfullyParsed is true |
| 106 | 106 |
| 107 TEST COMPLETE | 107 TEST COMPLETE |
| 108 | 108 |
| OLD | NEW |