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

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

Issue 939623002: Add TypeChecking=Unrestricted to Web Animation APIs (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Drop AnimationAnimationPlayerTest.SetCurrentTimeUnrestrictedDouble 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/webkit-animation-event-constructor-expected.txt
diff --git a/LayoutTests/fast/events/constructors/webkit-animation-event-constructor-expected.txt b/LayoutTests/fast/events/constructors/webkit-animation-event-constructor-expected.txt
index 096b264bac962d3ced8b62303442b9edc7a961b2..4a1edc4bf38a64e15eb008811d4df4b5a6056689 100644
--- a/LayoutTests/fast/events/constructors/webkit-animation-event-constructor-expected.txt
+++ b/LayoutTests/fast/events/constructors/webkit-animation-event-constructor-expected.txt
@@ -28,19 +28,19 @@ PASS new WebKitAnimationEvent('eventType', { elapsedTime: 0 }).elapsedTime is 0
PASS new WebKitAnimationEvent('eventType', { elapsedTime: 123.45 }).elapsedTime is 123.45
PASS new WebKitAnimationEvent('eventType', { elapsedTime: -123.45 }).elapsedTime is -123.45
PASS new WebKitAnimationEvent('eventType', { elapsedTime: 18446744073709551615 }).elapsedTime is 18446744073709551615
-PASS new WebKitAnimationEvent('eventType', { elapsedTime: NaN }).elapsedTime is NaN
-PASS new WebKitAnimationEvent('eventType', { elapsedTime: Infinity }).elapsedTime is Infinity
-PASS new WebKitAnimationEvent('eventType', { elapsedTime: -Infinity }).elapsedTime is -Infinity
+PASS new WebKitAnimationEvent('eventType', { elapsedTime: NaN }).elapsedTime threw exception TypeError: Failed to construct 'WebKitAnimationEvent': The provided double value is non-finite..
+PASS new WebKitAnimationEvent('eventType', { elapsedTime: Infinity }).elapsedTime threw exception TypeError: Failed to construct 'WebKitAnimationEvent': The provided double value is non-finite..
+PASS new WebKitAnimationEvent('eventType', { elapsedTime: -Infinity }).elapsedTime threw exception TypeError: Failed to construct 'WebKitAnimationEvent': The provided double value is non-finite..
PASS new WebKitAnimationEvent('eventType', { elapsedTime: undefined }).elapsedTime is 0
PASS new WebKitAnimationEvent('eventType', { elapsedTime: null }).elapsedTime is 0
PASS new WebKitAnimationEvent('eventType', { elapsedTime: false }).elapsedTime is 0
PASS new WebKitAnimationEvent('eventType', { elapsedTime: true }).elapsedTime is 1
PASS new WebKitAnimationEvent('eventType', { elapsedTime: '' }).elapsedTime is 0
-PASS new WebKitAnimationEvent('eventType', { elapsedTime: 'doremi' }).elapsedTime is NaN
+PASS new WebKitAnimationEvent('eventType', { elapsedTime: 'doremi' }).elapsedTime threw exception TypeError: Failed to construct 'WebKitAnimationEvent': The provided double value is non-finite..
PASS new WebKitAnimationEvent('eventType', { elapsedTime: [] }).elapsedTime is 0
PASS new WebKitAnimationEvent('eventType', { elapsedTime: [123.45] }).elapsedTime is 123.45
-PASS new WebKitAnimationEvent('eventType', { elapsedTime: [123.45, 678.90] }).elapsedTime is NaN
-PASS new WebKitAnimationEvent('eventType', { elapsedTime: {doremi: 123.45} }).elapsedTime is NaN
+PASS new WebKitAnimationEvent('eventType', { elapsedTime: [123.45, 678.90] }).elapsedTime threw exception TypeError: Failed to construct 'WebKitAnimationEvent': The provided double value is non-finite..
+PASS new WebKitAnimationEvent('eventType', { elapsedTime: {doremi: 123.45} }).elapsedTime threw exception TypeError: Failed to construct 'WebKitAnimationEvent': The provided double value is non-finite..
PASS new WebKitAnimationEvent('eventType', { elapsedTime: {valueOf: function () { return 123.45 } } }).elapsedTime is 123.45
PASS new WebKitAnimationEvent('eventType', { bubbles: true, cancelable: true, animationName: 'doremi', elapsedTime: 123.45 }).bubbles is true
PASS new WebKitAnimationEvent('eventType', { bubbles: true, cancelable: true, animationName: 'doremi', elapsedTime: 123.45 }).cancelable is true

Powered by Google App Engine
This is Rietveld 408576698