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

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

Issue 964783003: Add [TypeChecking=Unrestricted] to {Transition,Wheel}EventInit (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: fix test expectations Created 5 years, 10 months 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/transition-event-constructor-expected.txt
diff --git a/LayoutTests/fast/events/constructors/transition-event-constructor-expected.txt b/LayoutTests/fast/events/constructors/transition-event-constructor-expected.txt
index 1d92fdaec1299e89c39b29a08c2e8be478239199..fc0cb4be41d7eb14076bc9633c3aaf67de8ff04f 100644
--- a/LayoutTests/fast/events/constructors/transition-event-constructor-expected.txt
+++ b/LayoutTests/fast/events/constructors/transition-event-constructor-expected.txt
@@ -29,9 +29,9 @@ PASS new TransitionEvent('eventType', { elapsedTime: 0 }).elapsedTime is 0
PASS new TransitionEvent('eventType', { elapsedTime: 123.45 }).elapsedTime is 123.45
PASS new TransitionEvent('eventType', { elapsedTime: -123.45 }).elapsedTime is -123.45
PASS new TransitionEvent('eventType', { elapsedTime: 18446744073709551615 }).elapsedTime is 18446744073709551615
-PASS new TransitionEvent('eventType', { elapsedTime: NaN }).elapsedTime is NaN
-PASS new TransitionEvent('eventType', { elapsedTime: Infinity }).elapsedTime is Infinity
-PASS new TransitionEvent('eventType', { elapsedTime: -Infinity }).elapsedTime is -Infinity
+PASS new TransitionEvent('eventType', { elapsedTime: NaN }) threw exception TypeError: Failed to construct 'TransitionEvent': The provided double value is non-finite..
+PASS new TransitionEvent('eventType', { elapsedTime: Infinity }) threw exception TypeError: Failed to construct 'TransitionEvent': The provided double value is non-finite..
+PASS new TransitionEvent('eventType', { elapsedTime: -Infinity }) threw exception TypeError: Failed to construct 'TransitionEvent': The provided double value is non-finite..
PASS new TransitionEvent('eventType', { pseudoElement: '::before' }).pseudoElement is "::before"
PASS new TransitionEvent('eventType', { pseudoElement: '' }).pseudoElement is ""
PASS new TransitionEvent('eventType', { elapsedTime: undefined }).elapsedTime is 0
@@ -39,11 +39,11 @@ PASS new TransitionEvent('eventType', { elapsedTime: null }).elapsedTime is 0
PASS new TransitionEvent('eventType', { elapsedTime: false }).elapsedTime is 0
PASS new TransitionEvent('eventType', { elapsedTime: true }).elapsedTime is 1
PASS new TransitionEvent('eventType', { elapsedTime: '' }).elapsedTime is 0
-PASS new TransitionEvent('eventType', { elapsedTime: 'doremi' }).elapsedTime is NaN
+PASS new TransitionEvent('eventType', { elapsedTime: 'doremi' }) threw exception TypeError: Failed to construct 'TransitionEvent': The provided double value is non-finite..
PASS new TransitionEvent('eventType', { elapsedTime: [] }).elapsedTime is 0
PASS new TransitionEvent('eventType', { elapsedTime: [123.45] }).elapsedTime is 123.45
-PASS new TransitionEvent('eventType', { elapsedTime: [123.45, 678.90] }).elapsedTime is NaN
-PASS new TransitionEvent('eventType', { elapsedTime: {doremi: 123.45} }).elapsedTime is NaN
+PASS new TransitionEvent('eventType', { elapsedTime: [123.45, 678.90] }) threw exception TypeError: Failed to construct 'TransitionEvent': The provided double value is non-finite..
+PASS new TransitionEvent('eventType', { elapsedTime: {doremi: 123.45} }) threw exception TypeError: Failed to construct 'TransitionEvent': The provided double value is non-finite..
PASS new TransitionEvent('eventType', { elapsedTime: {valueOf: function () { return 123.45 } } }).elapsedTime is 123.45
PASS new TransitionEvent('eventType', { bubbles: true, cancelable: true, propertyName: 'doremi', elapsedTime: 123.45, pseudoElement: '::after' }).bubbles is true
PASS new TransitionEvent('eventType', { bubbles: true, cancelable: true, propertyName: 'doremi', elapsedTime: 123.45, pseudoElement: '::after' }).cancelable is true

Powered by Google App Engine
This is Rietveld 408576698