OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src="../../../resources/js-test.js"></script> | 4 <script src="../../../resources/js-test.js"></script> |
5 </head> | 5 </head> |
6 <body> | 6 <body> |
7 <script> | 7 <script> |
8 | 8 |
9 description("This tests the constructor for the MessageEvent DOM class."); | 9 description("This tests the constructor for the MessageEvent DOM class."); |
10 | 10 |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
123 // All initializers are passed. | 123 // All initializers are passed. |
124 shouldBe("new MessageEvent('eventType', { bubbles: true, cancelable: true, data:
test_object, origin: 'wonderful', lastEventId: 'excellent', source: window, por
ts: [channel.port1, channel.port2, channel2.port1] }).bubbles", "true"); | 124 shouldBe("new MessageEvent('eventType', { bubbles: true, cancelable: true, data:
test_object, origin: 'wonderful', lastEventId: 'excellent', source: window, por
ts: [channel.port1, channel.port2, channel2.port1] }).bubbles", "true"); |
125 shouldBe("new MessageEvent('eventType', { bubbles: true, cancelable: true, data:
test_object, origin: 'wonderful', lastEventId: 'excellent', source: window, por
ts: [channel.port1, channel.port2, channel2.port1] }).cancelable", "true"); | 125 shouldBe("new MessageEvent('eventType', { bubbles: true, cancelable: true, data:
test_object, origin: 'wonderful', lastEventId: 'excellent', source: window, por
ts: [channel.port1, channel.port2, channel2.port1] }).cancelable", "true"); |
126 shouldBe("new MessageEvent('eventType', { bubbles: true, cancelable: true, data:
test_object, origin: 'wonderful', lastEventId: 'excellent', source: window, por
ts: [channel.port1, channel.port2, channel2.port1] }).data", "test_object"); | 126 shouldBe("new MessageEvent('eventType', { bubbles: true, cancelable: true, data:
test_object, origin: 'wonderful', lastEventId: 'excellent', source: window, por
ts: [channel.port1, channel.port2, channel2.port1] }).data", "test_object"); |
127 shouldBeEqualToString("new MessageEvent('eventType', { bubbles: true, cancelable
: true, data: test_object, origin: 'wonderful', lastEventId: 'excellent', source
: window, ports: [channel.port1, channel.port2, channel2.port1] }).origin", "won
derful"); | 127 shouldBeEqualToString("new MessageEvent('eventType', { bubbles: true, cancelable
: true, data: test_object, origin: 'wonderful', lastEventId: 'excellent', source
: window, ports: [channel.port1, channel.port2, channel2.port1] }).origin", "won
derful"); |
128 shouldBeEqualToString("new MessageEvent('eventType', { bubbles: true, cancelable
: true, data: test_object, origin: 'wonderful', lastEventId: 'excellent', source
: window, ports: [channel.port1, channel.port2, channel2.port1] }).lastEventId",
"excellent"); | 128 shouldBeEqualToString("new MessageEvent('eventType', { bubbles: true, cancelable
: true, data: test_object, origin: 'wonderful', lastEventId: 'excellent', source
: window, ports: [channel.port1, channel.port2, channel2.port1] }).lastEventId",
"excellent"); |
129 shouldBe("new MessageEvent('eventType', { bubbles: true, cancelable: true, data:
test_object, origin: 'wonderful', lastEventId: 'excellent', source: window, por
ts: [channel.port1, channel.port2, channel2.port1] }).source", "window"); | 129 shouldBe("new MessageEvent('eventType', { bubbles: true, cancelable: true, data:
test_object, origin: 'wonderful', lastEventId: 'excellent', source: window, por
ts: [channel.port1, channel.port2, channel2.port1] }).source", "window"); |
130 shouldBe("new MessageEvent('eventType', { bubbles: true, cancelable: true, data:
test_object, origin: 'wonderful', lastEventId: 'excellent', source: window, por
ts: [channel.port1, channel.port2, channel2.port1] }).ports[0]", "channel.port1"
); | 130 shouldBe("new MessageEvent('eventType', { bubbles: true, cancelable: true, data:
test_object, origin: 'wonderful', lastEventId: 'excellent', source: window, por
ts: [channel.port1, channel.port2, channel2.port1] }).ports[0]", "channel.port1"
); |
131 shouldBe("new MessageEvent('eventType', { bubbles: true, cancelable: true, data:
test_object, origin: 'wonderful', lastEventId: 'excellent', source: window, por
ts: [channel.port1, channel.port2, channel2.port1] }).ports[1]", "channel.port2"
); | 131 shouldBe("new MessageEvent('eventType', { bubbles: true, cancelable: true, data:
test_object, origin: 'wonderful', lastEventId: 'excellent', source: window, por
ts: [channel.port1, channel.port2, channel2.port1] }).ports[1]", "channel.port2"
); |
132 shouldBe("new MessageEvent('eventType', { bubbles: true, cancelable: true, data:
test_object, origin: 'wonderful', lastEventId: 'excellent', source: window, por
ts: [channel.port1, channel.port2, channel2.port1] }).ports[2]", "channel2.port1
"); | 132 shouldBe("new MessageEvent('eventType', { bubbles: true, cancelable: true, data:
test_object, origin: 'wonderful', lastEventId: 'excellent', source: window, por
ts: [channel.port1, channel.port2, channel2.port1] }).ports[2]", "channel2.port1
"); |
| 133 shouldBe("new MessageEvent('eventType', { bubbles: true, cancelable: true, data:
test_object, origin: 'wonderful', lastEventId: 'excellent', source: window, por
ts: {length: 3, 0: channel.port1, 1: channel.port2, 2: channel2.port1} }).ports[
2]", "channel2.port1"); |
133 </script> | 134 </script> |
134 </body> | 135 </body> |
135 </html> | 136 </html> |
OLD | NEW |