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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 This tests the constructor for the WebKitAnimationEvent DOM class. 1 This tests the constructor for the WebKitAnimationEvent DOM class.
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 PASS new WebKitAnimationEvent('eventType').bubbles is false 6 PASS new WebKitAnimationEvent('eventType').bubbles is false
7 PASS new WebKitAnimationEvent('eventType').cancelable is false 7 PASS new WebKitAnimationEvent('eventType').cancelable is false
8 PASS new WebKitAnimationEvent('eventType').animationName is "" 8 PASS new WebKitAnimationEvent('eventType').animationName is ""
9 PASS new WebKitAnimationEvent('eventType').elapsedTime is 0 9 PASS new WebKitAnimationEvent('eventType').elapsedTime is 0
10 PASS new WebKitAnimationEvent('eventType', { bubbles: false }).bubbles is false 10 PASS new WebKitAnimationEvent('eventType', { bubbles: false }).bubbles is false
(...skipping 10 matching lines...) Expand all
21 PASS new WebKitAnimationEvent('eventType', { animationName: 18446744073709551615 }).animationName is "18446744073709552000" 21 PASS new WebKitAnimationEvent('eventType', { animationName: 18446744073709551615 }).animationName is "18446744073709552000"
22 PASS new WebKitAnimationEvent('eventType', { animationName: NaN }).animationName is "NaN" 22 PASS new WebKitAnimationEvent('eventType', { animationName: NaN }).animationName is "NaN"
23 PASS new WebKitAnimationEvent('eventType', { animationName: [] }).animationName is "" 23 PASS new WebKitAnimationEvent('eventType', { animationName: [] }).animationName is ""
24 PASS new WebKitAnimationEvent('eventType', { animationName: [1, 2, 3] }).animati onName is "1,2,3" 24 PASS new WebKitAnimationEvent('eventType', { animationName: [1, 2, 3] }).animati onName is "1,2,3"
25 PASS new WebKitAnimationEvent('eventType', { animationName: {doremi: 12345} }).a nimationName is "[object Object]" 25 PASS new WebKitAnimationEvent('eventType', { animationName: {doremi: 12345} }).a nimationName is "[object Object]"
26 PASS new WebKitAnimationEvent('eventType', { animationName: {valueOf: function ( ) { return 'doremi'; } } }).animationName is "[object Object]" 26 PASS new WebKitAnimationEvent('eventType', { animationName: {valueOf: function ( ) { return 'doremi'; } } }).animationName is "[object Object]"
27 PASS new WebKitAnimationEvent('eventType', { elapsedTime: 0 }).elapsedTime is 0 27 PASS new WebKitAnimationEvent('eventType', { elapsedTime: 0 }).elapsedTime is 0
28 PASS new WebKitAnimationEvent('eventType', { elapsedTime: 123.45 }).elapsedTime is 123.45 28 PASS new WebKitAnimationEvent('eventType', { elapsedTime: 123.45 }).elapsedTime is 123.45
29 PASS new WebKitAnimationEvent('eventType', { elapsedTime: -123.45 }).elapsedTime is -123.45 29 PASS new WebKitAnimationEvent('eventType', { elapsedTime: -123.45 }).elapsedTime is -123.45
30 PASS new WebKitAnimationEvent('eventType', { elapsedTime: 18446744073709551615 } ).elapsedTime is 18446744073709551615 30 PASS new WebKitAnimationEvent('eventType', { elapsedTime: 18446744073709551615 } ).elapsedTime is 18446744073709551615
31 PASS new WebKitAnimationEvent('eventType', { elapsedTime: NaN }).elapsedTime is NaN 31 PASS new WebKitAnimationEvent('eventType', { elapsedTime: NaN }).elapsedTime thr ew exception TypeError: Failed to construct 'WebKitAnimationEvent': The provided double value is non-finite..
32 PASS new WebKitAnimationEvent('eventType', { elapsedTime: Infinity }).elapsedTim e is Infinity 32 PASS new WebKitAnimationEvent('eventType', { elapsedTime: Infinity }).elapsedTim e threw exception TypeError: Failed to construct 'WebKitAnimationEvent': The pro vided double value is non-finite..
33 PASS new WebKitAnimationEvent('eventType', { elapsedTime: -Infinity }).elapsedTi me is -Infinity 33 PASS new WebKitAnimationEvent('eventType', { elapsedTime: -Infinity }).elapsedTi me threw exception TypeError: Failed to construct 'WebKitAnimationEvent': The pr ovided double value is non-finite..
34 PASS new WebKitAnimationEvent('eventType', { elapsedTime: undefined }).elapsedTi me is 0 34 PASS new WebKitAnimationEvent('eventType', { elapsedTime: undefined }).elapsedTi me is 0
35 PASS new WebKitAnimationEvent('eventType', { elapsedTime: null }).elapsedTime is 0 35 PASS new WebKitAnimationEvent('eventType', { elapsedTime: null }).elapsedTime is 0
36 PASS new WebKitAnimationEvent('eventType', { elapsedTime: false }).elapsedTime i s 0 36 PASS new WebKitAnimationEvent('eventType', { elapsedTime: false }).elapsedTime i s 0
37 PASS new WebKitAnimationEvent('eventType', { elapsedTime: true }).elapsedTime is 1 37 PASS new WebKitAnimationEvent('eventType', { elapsedTime: true }).elapsedTime is 1
38 PASS new WebKitAnimationEvent('eventType', { elapsedTime: '' }).elapsedTime is 0 38 PASS new WebKitAnimationEvent('eventType', { elapsedTime: '' }).elapsedTime is 0
39 PASS new WebKitAnimationEvent('eventType', { elapsedTime: 'doremi' }).elapsedTim e is NaN 39 PASS new WebKitAnimationEvent('eventType', { elapsedTime: 'doremi' }).elapsedTim e threw exception TypeError: Failed to construct 'WebKitAnimationEvent': The pro vided double value is non-finite..
40 PASS new WebKitAnimationEvent('eventType', { elapsedTime: [] }).elapsedTime is 0 40 PASS new WebKitAnimationEvent('eventType', { elapsedTime: [] }).elapsedTime is 0
41 PASS new WebKitAnimationEvent('eventType', { elapsedTime: [123.45] }).elapsedTim e is 123.45 41 PASS new WebKitAnimationEvent('eventType', { elapsedTime: [123.45] }).elapsedTim e is 123.45
42 PASS new WebKitAnimationEvent('eventType', { elapsedTime: [123.45, 678.90] }).el apsedTime is NaN 42 PASS new WebKitAnimationEvent('eventType', { elapsedTime: [123.45, 678.90] }).el apsedTime threw exception TypeError: Failed to construct 'WebKitAnimationEvent': The provided double value is non-finite..
43 PASS new WebKitAnimationEvent('eventType', { elapsedTime: {doremi: 123.45} }).el apsedTime is NaN 43 PASS new WebKitAnimationEvent('eventType', { elapsedTime: {doremi: 123.45} }).el apsedTime threw exception TypeError: Failed to construct 'WebKitAnimationEvent': The provided double value is non-finite..
44 PASS new WebKitAnimationEvent('eventType', { elapsedTime: {valueOf: function () { return 123.45 } } }).elapsedTime is 123.45 44 PASS new WebKitAnimationEvent('eventType', { elapsedTime: {valueOf: function () { return 123.45 } } }).elapsedTime is 123.45
45 PASS new WebKitAnimationEvent('eventType', { bubbles: true, cancelable: true, an imationName: 'doremi', elapsedTime: 123.45 }).bubbles is true 45 PASS new WebKitAnimationEvent('eventType', { bubbles: true, cancelable: true, an imationName: 'doremi', elapsedTime: 123.45 }).bubbles is true
46 PASS new WebKitAnimationEvent('eventType', { bubbles: true, cancelable: true, an imationName: 'doremi', elapsedTime: 123.45 }).cancelable is true 46 PASS new WebKitAnimationEvent('eventType', { bubbles: true, cancelable: true, an imationName: 'doremi', elapsedTime: 123.45 }).cancelable is true
47 PASS new WebKitAnimationEvent('eventType', { bubbles: true, cancelable: true, an imationName: 'doremi', elapsedTime: 123.45 }).animationName is 'doremi' 47 PASS new WebKitAnimationEvent('eventType', { bubbles: true, cancelable: true, an imationName: 'doremi', elapsedTime: 123.45 }).animationName is 'doremi'
48 PASS new WebKitAnimationEvent('eventType', { bubbles: true, cancelable: true, an imationName: 'doremi', elapsedTime: 123.45 }).elapsedTime is 123.45 48 PASS new WebKitAnimationEvent('eventType', { bubbles: true, cancelable: true, an imationName: 'doremi', elapsedTime: 123.45 }).elapsedTime is 123.45
49 PASS successfullyParsed is true 49 PASS successfullyParsed is true
50 50
51 TEST COMPLETE 51 TEST COMPLETE
52 52
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698