Index: LayoutTests/fast/events/constructors/message-event-constructor.html |
diff --git a/LayoutTests/fast/events/constructors/message-event-constructor.html b/LayoutTests/fast/events/constructors/message-event-constructor.html |
index 93009a671d0b52763baa6b2e0bd296d339c97285..c24fc8b0b870f6427757eef0277880899d97117f 100644 |
--- a/LayoutTests/fast/events/constructors/message-event-constructor.html |
+++ b/LayoutTests/fast/events/constructors/message-event-constructor.html |
@@ -130,6 +130,7 @@ shouldBe("new MessageEvent('eventType', { bubbles: true, cancelable: true, data: |
shouldBe("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]", "channel.port1"); |
shouldBe("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]", "channel.port2"); |
shouldBe("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]", "channel2.port1"); |
+shouldBe("new MessageEvent('eventType', { bubbles: true, cancelable: true, data: test_object, origin: 'wonderful', lastEventId: 'excellent', source: window, ports: {length: 3, 0: channel.port1, 1: channel.port2, 2: channel2.port1} }).ports[2]", "channel2.port1"); |
</script> |
</body> |
</html> |