Index: LayoutTests/fast/events/constructors/composition-event-constructor-expected.txt |
diff --git a/LayoutTests/fast/events/constructors/composition-event-constructor-expected.txt b/LayoutTests/fast/events/constructors/composition-event-constructor-expected.txt |
index 2dcadda471b5a7b8851f76d8d384f3328c3e2704..e170d61b75eb44253e45cbe6bf0f90807a902595 100644 |
--- a/LayoutTests/fast/events/constructors/composition-event-constructor-expected.txt |
+++ b/LayoutTests/fast/events/constructors/composition-event-constructor-expected.txt |
@@ -14,19 +14,20 @@ PASS new CompositionEvent('eventType', { cancelable: false }).cancelable is fals |
PASS new CompositionEvent('eventType', { cancelable: true }).cancelable is true |
PASS new CompositionEvent('eventType', { view: window }).view is window |
PASS new CompositionEvent('eventType', { view: this }).view is this |
-PASS new CompositionEvent('eventType', { view: testObject }).view is null |
-PASS new CompositionEvent('eventType', { view: document }).view is null |
+PASS new CompositionEvent('eventType', { view: testObject }).view threw exception TypeError: Failed to construct 'CompositionEvent': The 'view' property does not have a Window type.. |
+PASS new CompositionEvent('eventType', { view: document }).view threw exception TypeError: Failed to construct 'CompositionEvent': The 'view' property does not have a Window type.. |
PASS new CompositionEvent('eventType', { view: undefined }).view is null |
PASS new CompositionEvent('eventType', { view: null }).view is null |
-PASS new CompositionEvent('eventType', { view: false }).view is null |
-PASS new CompositionEvent('eventType', { view: true }).view is null |
-PASS new CompositionEvent('eventType', { view: '' }).view is null |
-PASS new CompositionEvent('eventType', { view: 'chocolate' }).view is null |
-PASS new CompositionEvent('eventType', { view: 12345 }).view is null |
-PASS new CompositionEvent('eventType', { view: 18446744073709551615 }).view is null |
-PASS new CompositionEvent('eventType', { view: NaN }).view is null |
-PASS new CompositionEvent('eventType', { view: {valueOf: function () { return window; } } }).view == window is false |
-PASS new CompositionEvent('eventType', { get view() { return 123; } }).view is null |
+PASS new CompositionEvent('eventType', { view: false }).view threw exception TypeError: Failed to construct 'CompositionEvent': The 'view' property does not have a Window type.. |
+PASS new CompositionEvent('eventType', { view: true }).view threw exception TypeError: Failed to construct 'CompositionEvent': The 'view' property does not have a Window type.. |
+PASS new CompositionEvent('eventType', { view: '' }).view threw exception TypeError: Failed to construct 'CompositionEvent': The 'view' property does not have a Window type.. |
+PASS new CompositionEvent('eventType', { view: 'chocolate' }).view threw exception TypeError: Failed to construct 'CompositionEvent': The 'view' property does not have a Window type.. |
+PASS new CompositionEvent('eventType', { view: 12345 }).view threw exception TypeError: Failed to construct 'CompositionEvent': The 'view' property does not have a Window type.. |
+PASS new CompositionEvent('eventType', { view: 18446744073709551615 }).view threw exception TypeError: Failed to construct 'CompositionEvent': The 'view' property does not have a Window type.. |
+PASS new CompositionEvent('eventType', { view: NaN }).view threw exception TypeError: Failed to construct 'CompositionEvent': The 'view' property does not have a Window type.. |
+PASS new CompositionEvent('eventType', { view: {valueOf: function () { return window; } } }).view == window threw exception TypeError: Failed to construct 'CompositionEvent': The 'view' property does not have a Window type.. |
+PASS new CompositionEvent('eventType', { get view() { return window; } }).view is window |
+PASS new CompositionEvent('eventType', { get view() { return 123; } }).view threw exception TypeError: Failed to construct 'CompositionEvent': The 'view' property does not have a Window type.. |
PASS new CompositionEvent('eventType', { get view() { throw 'CompositionEvent Error'; } }) threw exception CompositionEvent Error. |
PASS new CompositionEvent('eventType', { data: 'koakuma' }).data is "koakuma" |
PASS new CompositionEvent('eventType', { data: '' }).data is "" |