| Index: LayoutTests/fast/events/constructors/focus-event-constructor-expected.txt
|
| diff --git a/LayoutTests/fast/events/constructors/focus-event-constructor-expected.txt b/LayoutTests/fast/events/constructors/focus-event-constructor-expected.txt
|
| index 346033e5f8b7f7780f1d0e3ca47a2afb1e56274b..af2102400600dffc042c2b38e147aeb6404d8c28 100644
|
| --- a/LayoutTests/fast/events/constructors/focus-event-constructor-expected.txt
|
| +++ b/LayoutTests/fast/events/constructors/focus-event-constructor-expected.txt
|
| @@ -14,36 +14,38 @@ PASS new FocusEvent('eventType', { cancelable: false }).cancelable is false
|
| PASS new FocusEvent('eventType', { cancelable: true }).cancelable is true
|
| PASS new FocusEvent('eventType', { view: window }).view is window
|
| PASS new FocusEvent('eventType', { view: this }).view is this
|
| -PASS new FocusEvent('eventType', { view: testObject }).view is null
|
| -PASS new FocusEvent('eventType', { view: document }).view is null
|
| +PASS new FocusEvent('eventType', { view: testObject }).view threw exception TypeError: The 'view' property does not have a Window type..
|
| +PASS new FocusEvent('eventType', { view: document }).view threw exception TypeError: The 'view' property does not have a Window type..
|
| PASS new FocusEvent('eventType', { view: undefined }).view is null
|
| PASS new FocusEvent('eventType', { view: null }).view is null
|
| -PASS new FocusEvent('eventType', { view: false }).view is null
|
| -PASS new FocusEvent('eventType', { view: true }).view is null
|
| -PASS new FocusEvent('eventType', { view: '' }).view is null
|
| -PASS new FocusEvent('eventType', { view: 'chocolate' }).view is null
|
| -PASS new FocusEvent('eventType', { view: 12345 }).view is null
|
| -PASS new FocusEvent('eventType', { view: 18446744073709551615 }).view is null
|
| -PASS new FocusEvent('eventType', { view: NaN }).view is null
|
| -PASS new FocusEvent('eventType', { view: {valueOf: function () { return window; } } }).view == window is false
|
| -PASS new FocusEvent('eventType', { get view() { return 123; } }).view is null
|
| +PASS new FocusEvent('eventType', { view: false }).view threw exception TypeError: The 'view' property does not have a Window type..
|
| +PASS new FocusEvent('eventType', { view: true }).view threw exception TypeError: The 'view' property does not have a Window type..
|
| +PASS new FocusEvent('eventType', { view: '' }).view threw exception TypeError: The 'view' property does not have a Window type..
|
| +PASS new FocusEvent('eventType', { view: 'chocolate' }).view threw exception TypeError: The 'view' property does not have a Window type..
|
| +PASS new FocusEvent('eventType', { view: 12345 }).view threw exception TypeError: The 'view' property does not have a Window type..
|
| +PASS new FocusEvent('eventType', { view: 18446744073709551615 }).view threw exception TypeError: The 'view' property does not have a Window type..
|
| +PASS new FocusEvent('eventType', { view: NaN }).view threw exception TypeError: The 'view' property does not have a Window type..
|
| +PASS new FocusEvent('eventType', { view: {valueOf: function () { return window; } } }).view == window threw exception TypeError: The 'view' property does not have a Window type..
|
| +PASS new FocusEvent('eventType', { get view() { return window; } }).view is window
|
| +PASS new FocusEvent('eventType', { get view() { return 123; } }).view threw exception TypeError: The 'view' property does not have a Window type..
|
| PASS new FocusEvent('eventType', { get view() { throw 'FocusEvent Error'; } }) threw exception FocusEvent Error.
|
| PASS new FocusEvent('eventType', { relatedTarget: testDiv }).relatedTarget is testDiv
|
| PASS new FocusEvent('eventType', { relatedTarget: document }).relatedTarget is document
|
| PASS new FocusEvent('eventType', { relatedTarget: xhr }).relatedTarget is xhr
|
| PASS new FocusEvent('eventType', { relatedTarget: window }).relatedTarget is window
|
| -PASS new FocusEvent('eventType', { relatedTarget: testObject }).relatedTarget is null
|
| +PASS new FocusEvent('eventType', { relatedTarget: testObject }).relatedTarget threw exception TypeError: The 'relatedTarget' property does not have a EventTarget type..
|
| PASS new FocusEvent('eventType', { relatedTarget: undefined }).relatedTarget is null
|
| PASS new FocusEvent('eventType', { relatedTarget: null }).relatedTarget is null
|
| -PASS new FocusEvent('eventType', { relatedTarget: false }).relatedTarget is null
|
| -PASS new FocusEvent('eventType', { relatedTarget: true }).relatedTarget is null
|
| -PASS new FocusEvent('eventType', { relatedTarget: '' }).relatedTarget is null
|
| -PASS new FocusEvent('eventType', { relatedTarget: 'chocolate' }).relatedTarget is null
|
| -PASS new FocusEvent('eventType', { relatedTarget: 12345 }).relatedTarget is null
|
| -PASS new FocusEvent('eventType', { relatedTarget: 18446744073709551615 }).relatedTarget is null
|
| -PASS new FocusEvent('eventType', { relatedTarget: NaN }).relatedTarget is null
|
| -PASS new FocusEvent('eventType', { relatedTarget: {valueOf: function () { return testDiv; } } }).relatedTarget == testDiv is false
|
| -PASS new FocusEvent('eventType', { get relatedTarget() { return 123; } }).relatedTarget is null
|
| +PASS new FocusEvent('eventType', { relatedTarget: false }).relatedTarget threw exception TypeError: The 'relatedTarget' property does not have a EventTarget type..
|
| +PASS new FocusEvent('eventType', { relatedTarget: true }).relatedTarget threw exception TypeError: The 'relatedTarget' property does not have a EventTarget type..
|
| +PASS new FocusEvent('eventType', { relatedTarget: '' }).relatedTarget threw exception TypeError: The 'relatedTarget' property does not have a EventTarget type..
|
| +PASS new FocusEvent('eventType', { relatedTarget: 'chocolate' }).relatedTarget threw exception TypeError: The 'relatedTarget' property does not have a EventTarget type..
|
| +PASS new FocusEvent('eventType', { relatedTarget: 12345 }).relatedTarget threw exception TypeError: The 'relatedTarget' property does not have a EventTarget type..
|
| +PASS new FocusEvent('eventType', { relatedTarget: 18446744073709551615 }).relatedTarget threw exception TypeError: The 'relatedTarget' property does not have a EventTarget type..
|
| +PASS new FocusEvent('eventType', { relatedTarget: NaN }).relatedTarget threw exception TypeError: The 'relatedTarget' property does not have a EventTarget type..
|
| +PASS new FocusEvent('eventType', { relatedTarget: {valueOf: function () { return testDiv; } } }).relatedTarget == testDiv threw exception TypeError: The 'relatedTarget' property does not have a EventTarget type..
|
| +PASS new FocusEvent('eventType', { get relatedTarget() { return testDiv; } }).relatedTarget == testDiv is true
|
| +PASS new FocusEvent('eventType', { get relatedTarget() { return 123; } }).relatedTarget threw exception TypeError: The 'relatedTarget' property does not have a EventTarget type..
|
| PASS new FocusEvent('eventType', { get relatedTarget() { throw 'FocusEvent Error'; } }) threw exception FocusEvent Error.
|
| PASS new FocusEvent('eventType', { bubbles: true, cancelable: true, view: window, detail: 111, relatedTarget: testDiv }).bubbles is true
|
| PASS new FocusEvent('eventType', { bubbles: true, cancelable: true, view: window, detail: 111, relatedTarget: testDiv }).cancelable is true
|
|
|