Index: LayoutTests/fast/events/constructors/message-event-constructor-expected.txt |
diff --git a/LayoutTests/fast/events/constructors/message-event-constructor-expected.txt b/LayoutTests/fast/events/constructors/message-event-constructor-expected.txt |
index d131b3b58e314696e7a68e11b6516f85bbc70ba1..a11ac015e0a39a974b80a7ffb68d301a06a005ce 100644 |
--- a/LayoutTests/fast/events/constructors/message-event-constructor-expected.txt |
+++ b/LayoutTests/fast/events/constructors/message-event-constructor-expected.txt |
@@ -83,19 +83,19 @@ PASS new MessageEvent('eventType', { ports: [channel.port1, channel.port2, chann |
PASS new MessageEvent('eventType', { ports: [] }).ports is [] |
PASS new MessageEvent('eventType', { ports: undefined }).ports is [] |
PASS new MessageEvent('eventType', { ports: null }).ports is [] |
-PASS new MessageEvent('eventType', { ports: [1, 2, 3] }).ports[2] threw exception TypeError: Invalid Array element type. |
-PASS new MessageEvent('eventType', { ports: test_object }).ports threw exception TypeError: 'ports' property is neither an array, nor does it have indexed properties.. |
-PASS new MessageEvent('eventType', { ports: document }).ports threw exception TypeError: 'ports' property is neither an array, nor does it have indexed properties.. |
-PASS new MessageEvent('eventType', { ports: false }).ports threw exception TypeError: 'ports' property is neither an array, nor does it have indexed properties.. |
-PASS new MessageEvent('eventType', { ports: true }).ports threw exception TypeError: 'ports' property is neither an array, nor does it have indexed properties.. |
-PASS new MessageEvent('eventType', { ports: '' }).ports threw exception TypeError: 'ports' property is neither an array, nor does it have indexed properties.. |
-PASS new MessageEvent('eventType', { ports: 'chocolate' }).ports threw exception TypeError: 'ports' property is neither an array, nor does it have indexed properties.. |
-PASS new MessageEvent('eventType', { ports: 12345 }).ports threw exception TypeError: 'ports' property is neither an array, nor does it have indexed properties.. |
-PASS new MessageEvent('eventType', { ports: 18446744073709551615 }).ports threw exception TypeError: 'ports' property is neither an array, nor does it have indexed properties.. |
-PASS new MessageEvent('eventType', { ports: NaN }).ports threw exception TypeError: 'ports' property is neither an array, nor does it have indexed properties.. |
-PASS new MessageEvent('eventType', { get ports() { return 123; } }).ports threw exception TypeError: 'ports' property is neither an array, nor does it have indexed properties.. |
+PASS new MessageEvent('eventType', { ports: [1, 2, 3] }).ports[2] threw exception TypeError: Failed to construct 'MessageEvent': Invalid Array element type. |
+PASS new MessageEvent('eventType', { ports: test_object }).ports threw exception TypeError: Failed to construct 'MessageEvent': 'ports' property is neither an array, nor does it have indexed properties.. |
+PASS new MessageEvent('eventType', { ports: document }).ports threw exception TypeError: Failed to construct 'MessageEvent': 'ports' property is neither an array, nor does it have indexed properties.. |
+PASS new MessageEvent('eventType', { ports: false }).ports threw exception TypeError: Failed to construct 'MessageEvent': 'ports' property is neither an array, nor does it have indexed properties.. |
+PASS new MessageEvent('eventType', { ports: true }).ports threw exception TypeError: Failed to construct 'MessageEvent': 'ports' property is neither an array, nor does it have indexed properties.. |
+PASS new MessageEvent('eventType', { ports: '' }).ports threw exception TypeError: Failed to construct 'MessageEvent': 'ports' property is neither an array, nor does it have indexed properties.. |
+PASS new MessageEvent('eventType', { ports: 'chocolate' }).ports threw exception TypeError: Failed to construct 'MessageEvent': 'ports' property is neither an array, nor does it have indexed properties.. |
+PASS new MessageEvent('eventType', { ports: 12345 }).ports threw exception TypeError: Failed to construct 'MessageEvent': 'ports' property is neither an array, nor does it have indexed properties.. |
+PASS new MessageEvent('eventType', { ports: 18446744073709551615 }).ports threw exception TypeError: Failed to construct 'MessageEvent': 'ports' property is neither an array, nor does it have indexed properties.. |
+PASS new MessageEvent('eventType', { ports: NaN }).ports threw exception TypeError: Failed to construct 'MessageEvent': 'ports' property is neither an array, nor does it have indexed properties.. |
+PASS new MessageEvent('eventType', { get ports() { return 123; } }).ports threw exception TypeError: Failed to construct 'MessageEvent': 'ports' property is neither an array, nor does it have indexed properties.. |
PASS new MessageEvent('eventType', { get ports() { throw 'MessageEvent Error'; } }) threw exception MessageEvent Error. |
-PASS new MessageEvent('eventType', { ports: {valueOf: function () { return [channel.port1, channel.port2, channel.port2]; } } }).ports[0] threw exception TypeError: 'ports' property is neither an array, nor does it have indexed properties.. |
+PASS new MessageEvent('eventType', { ports: {valueOf: function () { return [channel.port1, channel.port2, channel.port2]; } } }).ports[0] threw exception TypeError: Failed to construct 'MessageEvent': 'ports' property is neither an array, nor does it have indexed properties.. |
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 |
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 |
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 |