Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(319)

Unified Diff: LayoutTests/fast/events/constructors/composition-event-constructor-expected.txt

Issue 85263002: Improve handling of dictionary conversions. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Have conversion methods take a context argument; elaborate error msgs further. Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 ""

Powered by Google App Engine
This is Rietveld 408576698