| 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 a11ac015e0a39a974b80a7ffb68d301a06a005ce..f532692c4be4eafc5acfe7ef8bae8404a599907e 100644
|
| --- a/LayoutTests/fast/events/constructors/message-event-constructor-expected.txt
|
| +++ b/LayoutTests/fast/events/constructors/message-event-constructor-expected.txt
|
| @@ -9,14 +9,14 @@ PASS new MessageEvent('eventType').data is null
|
| PASS new MessageEvent('eventType').origin is ""
|
| PASS new MessageEvent('eventType').lastEventId is ""
|
| PASS new MessageEvent('eventType').source is null
|
| -PASS new MessageEvent('eventType').ports is []
|
| +PASS new MessageEvent('eventType').ports is null
|
| PASS new MessageEvent('eventType', { bubbles: false }).bubbles is false
|
| PASS new MessageEvent('eventType', { bubbles: true }).bubbles is true
|
| PASS new MessageEvent('eventType', { cancelable: false }).cancelable is false
|
| PASS new MessageEvent('eventType', { cancelable: true }).cancelable is true
|
| PASS new MessageEvent('eventType', { data: test_object }).data is test_object
|
| PASS new MessageEvent('eventType', { data: document }).data is document
|
| -PASS new MessageEvent('eventType', { data: undefined }).data is undefined
|
| +PASS new MessageEvent('eventType', { data: undefined }).data is null
|
| PASS new MessageEvent('eventType', { data: null }).data is null
|
| PASS new MessageEvent('eventType', { data: false }).data is false
|
| PASS new MessageEvent('eventType', { data: true }).data is true
|
| @@ -30,7 +30,7 @@ PASS new MessageEvent('eventType', { get data() { return 123; } }).data is 123
|
| PASS new MessageEvent('eventType', { get data() { throw 'MessageEvent Error'; } }) threw exception MessageEvent Error.
|
| PASS new MessageEvent('eventType', { origin: 'melancholy' }).origin is "melancholy"
|
| PASS new MessageEvent('eventType', { origin: '' }).origin is ""
|
| -PASS new MessageEvent('eventType', { origin: undefined }).origin is "undefined"
|
| +PASS new MessageEvent('eventType', { origin: undefined }).origin is ""
|
| PASS new MessageEvent('eventType', { origin: null }).origin is "null"
|
| PASS new MessageEvent('eventType', { origin: false }).origin is "false"
|
| PASS new MessageEvent('eventType', { origin: true }).origin is "true"
|
| @@ -45,7 +45,7 @@ PASS new MessageEvent('eventType', { get origin() { return 123; } }).origin is "
|
| PASS new MessageEvent('eventType', { get origin() { throw 'MessageEvent Error'; } }) threw exception MessageEvent Error.
|
| PASS new MessageEvent('eventType', { lastEventId: 'melancholy' }).lastEventId is "melancholy"
|
| PASS new MessageEvent('eventType', { lastEventId: '' }).lastEventId is ""
|
| -PASS new MessageEvent('eventType', { lastEventId: undefined }).lastEventId is "undefined"
|
| +PASS new MessageEvent('eventType', { lastEventId: undefined }).lastEventId is ""
|
| PASS new MessageEvent('eventType', { lastEventId: null }).lastEventId is "null"
|
| PASS new MessageEvent('eventType', { lastEventId: false }).lastEventId is "false"
|
| PASS new MessageEvent('eventType', { lastEventId: true }).lastEventId is "true"
|
| @@ -61,41 +61,41 @@ PASS new MessageEvent('eventType', { get lastEventId() { throw 'MessageEvent Err
|
| PASS new MessageEvent('eventType', { source: window }).source is window
|
| PASS new MessageEvent('eventType', { source: this }).source is this
|
| PASS new MessageEvent('eventType', { ports: [channel.port1], source: channel.port1 }).source is channel.port1
|
| -PASS new MessageEvent('eventType', { source: test_object }).source threw exception TypeError: Failed to construct 'MessageEvent': The 'source' property does not have a EventTarget type..
|
| +PASS new MessageEvent('eventType', { source: test_object }).source threw exception TypeError: Failed to construct 'MessageEvent': member source is not of type EventTarget..
|
| PASS new MessageEvent('eventType', { source: document }).source threw exception TypeError: Failed to construct 'MessageEvent': The optional 'source' property is neither a Window nor MessagePort..
|
| PASS new MessageEvent('eventType', { source: document.body }).source threw exception TypeError: Failed to construct 'MessageEvent': The optional 'source' property is neither a Window nor MessagePort..
|
| PASS new MessageEvent('eventType', { source: undefined }).source is null
|
| PASS new MessageEvent('eventType', { source: null }).source is null
|
| -PASS new MessageEvent('eventType', { source: false }).source threw exception TypeError: Failed to construct 'MessageEvent': The 'source' property does not have a EventTarget type..
|
| -PASS new MessageEvent('eventType', { source: true }).source threw exception TypeError: Failed to construct 'MessageEvent': The 'source' property does not have a EventTarget type..
|
| -PASS new MessageEvent('eventType', { source: '' }).source threw exception TypeError: Failed to construct 'MessageEvent': The 'source' property does not have a EventTarget type..
|
| -PASS new MessageEvent('eventType', { source: 'chocolate' }).source threw exception TypeError: Failed to construct 'MessageEvent': The 'source' property does not have a EventTarget type..
|
| -PASS new MessageEvent('eventType', { source: 12345 }).source threw exception TypeError: Failed to construct 'MessageEvent': The 'source' property does not have a EventTarget type..
|
| -PASS new MessageEvent('eventType', { source: 18446744073709551615 }).source threw exception TypeError: Failed to construct 'MessageEvent': The 'source' property does not have a EventTarget type..
|
| -PASS new MessageEvent('eventType', { source: NaN }).source threw exception TypeError: Failed to construct 'MessageEvent': The 'source' property does not have a EventTarget type..
|
| -PASS new MessageEvent('eventType', { source: {valueOf: function () { return window; } } }).source == window threw exception TypeError: Failed to construct 'MessageEvent': The 'source' property does not have a EventTarget type..
|
| +PASS new MessageEvent('eventType', { source: false }).source threw exception TypeError: Failed to construct 'MessageEvent': member source is not of type EventTarget..
|
| +PASS new MessageEvent('eventType', { source: true }).source threw exception TypeError: Failed to construct 'MessageEvent': member source is not of type EventTarget..
|
| +PASS new MessageEvent('eventType', { source: '' }).source threw exception TypeError: Failed to construct 'MessageEvent': member source is not of type EventTarget..
|
| +PASS new MessageEvent('eventType', { source: 'chocolate' }).source threw exception TypeError: Failed to construct 'MessageEvent': member source is not of type EventTarget..
|
| +PASS new MessageEvent('eventType', { source: 12345 }).source threw exception TypeError: Failed to construct 'MessageEvent': member source is not of type EventTarget..
|
| +PASS new MessageEvent('eventType', { source: 18446744073709551615 }).source threw exception TypeError: Failed to construct 'MessageEvent': member source is not of type EventTarget..
|
| +PASS new MessageEvent('eventType', { source: NaN }).source threw exception TypeError: Failed to construct 'MessageEvent': member source is not of type EventTarget..
|
| +PASS new MessageEvent('eventType', { source: {valueOf: function () { return window; } } }).source == window threw exception TypeError: Failed to construct 'MessageEvent': member source is not of type EventTarget..
|
| PASS new MessageEvent('eventType', { get source() { return window; } }).source is window
|
| -PASS new MessageEvent('eventType', { get source() { return 123; } }).source threw exception TypeError: Failed to construct 'MessageEvent': The 'source' property does not have a EventTarget type..
|
| +PASS new MessageEvent('eventType', { get source() { return 123; } }).source threw exception TypeError: Failed to construct 'MessageEvent': member source is not of type EventTarget..
|
| PASS new MessageEvent('eventType', { get source() { throw 'MessageEvent Error'; } }) threw exception MessageEvent Error.
|
| PASS new MessageEvent('eventType', { ports: [channel.port1, channel.port2, channel2.port1] }).ports[0] is channel.port1
|
| PASS new MessageEvent('eventType', { ports: [channel.port1, channel.port2, channel2.port1] }).ports[1] is channel.port2
|
| PASS new MessageEvent('eventType', { ports: [channel.port1, channel.port2, channel2.port1] }).ports[2] is channel2.port1
|
| 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: undefined }).ports is null
|
| +PASS new MessageEvent('eventType', { ports: null }).ports is null
|
| 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', { ports: test_object }).ports threw exception TypeError: Failed to construct 'MessageEvent': The value provided is neither an array, nor does it have indexed properties..
|
| +PASS new MessageEvent('eventType', { ports: document }).ports threw exception TypeError: Failed to construct 'MessageEvent': The value provided is neither an array, nor does it have indexed properties..
|
| +PASS new MessageEvent('eventType', { ports: false }).ports threw exception TypeError: Failed to construct 'MessageEvent': The value provided is neither an array, nor does it have indexed properties..
|
| +PASS new MessageEvent('eventType', { ports: true }).ports threw exception TypeError: Failed to construct 'MessageEvent': The value provided is neither an array, nor does it have indexed properties..
|
| +PASS new MessageEvent('eventType', { ports: '' }).ports threw exception TypeError: Failed to construct 'MessageEvent': The value provided is neither an array, nor does it have indexed properties..
|
| +PASS new MessageEvent('eventType', { ports: 'chocolate' }).ports threw exception TypeError: Failed to construct 'MessageEvent': The value provided is neither an array, nor does it have indexed properties..
|
| +PASS new MessageEvent('eventType', { ports: 12345 }).ports threw exception TypeError: Failed to construct 'MessageEvent': The value provided is neither an array, nor does it have indexed properties..
|
| +PASS new MessageEvent('eventType', { ports: 18446744073709551615 }).ports threw exception TypeError: Failed to construct 'MessageEvent': The value provided is neither an array, nor does it have indexed properties..
|
| +PASS new MessageEvent('eventType', { ports: NaN }).ports threw exception TypeError: Failed to construct 'MessageEvent': The value provided 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': The value provided 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: Failed to construct 'MessageEvent': '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': The value provided 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
|
|
|