Index: LayoutTests/fast/events/constructors/ui-event-constructor-expected.txt |
diff --git a/LayoutTests/fast/events/constructors/ui-event-constructor-expected.txt b/LayoutTests/fast/events/constructors/ui-event-constructor-expected.txt |
index f509b8db86f9197566d1569e2fb401fc6bc4f38d..4fae720e4941684c97ad27ab6a605477eb31e9c5 100644 |
--- a/LayoutTests/fast/events/constructors/ui-event-constructor-expected.txt |
+++ b/LayoutTests/fast/events/constructors/ui-event-constructor-expected.txt |
@@ -13,19 +13,20 @@ PASS new UIEvent('eventType', { cancelable: false }).cancelable is false |
PASS new UIEvent('eventType', { cancelable: true }).cancelable is true |
PASS new UIEvent('eventType', { view: window }).view is window |
PASS new UIEvent('eventType', { view: this }).view is this |
-PASS new UIEvent('eventType', { view: testObject }).view is null |
-PASS new UIEvent('eventType', { view: document }).view is null |
+PASS new UIEvent('eventType', { view: testObject }).view threw exception TypeError: Failed to construct 'UIEvent': The 'view' property does not have a Window type.. |
+PASS new UIEvent('eventType', { view: document }).view threw exception TypeError: Failed to construct 'UIEvent': The 'view' property does not have a Window type.. |
PASS new UIEvent('eventType', { view: undefined }).view is null |
PASS new UIEvent('eventType', { view: null }).view is null |
-PASS new UIEvent('eventType', { view: false }).view is null |
-PASS new UIEvent('eventType', { view: true }).view is null |
-PASS new UIEvent('eventType', { view: '' }).view is null |
-PASS new UIEvent('eventType', { view: 'chocolate' }).view is null |
-PASS new UIEvent('eventType', { view: 12345 }).view is null |
-PASS new UIEvent('eventType', { view: 18446744073709551615 }).view is null |
-PASS new UIEvent('eventType', { view: NaN }).view is null |
-PASS new UIEvent('eventType', { view: {valueOf: function () { return window; } } }).view == window is false |
-PASS new UIEvent('eventType', { get view() { return 123; } }).view is null |
+PASS new UIEvent('eventType', { view: false }).view threw exception TypeError: Failed to construct 'UIEvent': The 'view' property does not have a Window type.. |
+PASS new UIEvent('eventType', { view: true }).view threw exception TypeError: Failed to construct 'UIEvent': The 'view' property does not have a Window type.. |
+PASS new UIEvent('eventType', { view: '' }).view threw exception TypeError: Failed to construct 'UIEvent': The 'view' property does not have a Window type.. |
+PASS new UIEvent('eventType', { view: 'chocolate' }).view threw exception TypeError: Failed to construct 'UIEvent': The 'view' property does not have a Window type.. |
+PASS new UIEvent('eventType', { view: 12345 }).view threw exception TypeError: Failed to construct 'UIEvent': The 'view' property does not have a Window type.. |
+PASS new UIEvent('eventType', { view: 18446744073709551615 }).view threw exception TypeError: Failed to construct 'UIEvent': The 'view' property does not have a Window type.. |
+PASS new UIEvent('eventType', { view: NaN }).view threw exception TypeError: Failed to construct 'UIEvent': The 'view' property does not have a Window type.. |
+PASS new UIEvent('eventType', { view: {valueOf: function () { return window; } } }).view == window threw exception TypeError: Failed to construct 'UIEvent': The 'view' property does not have a Window type.. |
+PASS new UIEvent('eventType', { get view() { return window; } }).view is window |
+PASS new UIEvent('eventType', { get view() { return 123; } }).view threw exception TypeError: Failed to construct 'UIEvent': The 'view' property does not have a Window type.. |
PASS new UIEvent('eventType', { get view() { throw 'UIEvent Error'; } }) threw exception UIEvent Error. |
PASS new UIEvent('eventType', { detail: 0 }).detail is 0 |
PASS new UIEvent('eventType', { detail: 2147483647 }).detail is 2147483647 |