OLD | NEW |
1 This tests the constructor for the AnimationEvent DOM class. | 1 This tests the constructor for the AnimationEvent 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 AnimationEvent('eventType').bubbles is false | 6 PASS new AnimationEvent('eventType').bubbles is false |
7 PASS new AnimationEvent('eventType').cancelable is false | 7 PASS new AnimationEvent('eventType').cancelable is false |
8 PASS new AnimationEvent('eventType').animationName is "" | 8 PASS new AnimationEvent('eventType').animationName is "" |
9 PASS new AnimationEvent('eventType').elapsedTime is 0 | 9 PASS new AnimationEvent('eventType').elapsedTime is 0 |
10 PASS new AnimationEvent('eventType', { bubbles: false }).bubbles is false | 10 PASS new AnimationEvent('eventType', { bubbles: false }).bubbles is false |
(...skipping 10 matching lines...) Expand all Loading... |
21 PASS new AnimationEvent('eventType', { animationName: 18446744073709551615 }).an
imationName is "18446744073709552000" | 21 PASS new AnimationEvent('eventType', { animationName: 18446744073709551615 }).an
imationName is "18446744073709552000" |
22 PASS new AnimationEvent('eventType', { animationName: NaN }).animationName is "N
aN" | 22 PASS new AnimationEvent('eventType', { animationName: NaN }).animationName is "N
aN" |
23 PASS new AnimationEvent('eventType', { animationName: [] }).animationName is "" | 23 PASS new AnimationEvent('eventType', { animationName: [] }).animationName is "" |
24 PASS new AnimationEvent('eventType', { animationName: [1, 2, 3] }).animationName
is "1,2,3" | 24 PASS new AnimationEvent('eventType', { animationName: [1, 2, 3] }).animationName
is "1,2,3" |
25 PASS new AnimationEvent('eventType', { animationName: {doremi: 12345} }).animati
onName is "[object Object]" | 25 PASS new AnimationEvent('eventType', { animationName: {doremi: 12345} }).animati
onName is "[object Object]" |
26 PASS new AnimationEvent('eventType', { animationName: {valueOf: function () { re
turn 'doremi'; } } }).animationName is "[object Object]" | 26 PASS new AnimationEvent('eventType', { animationName: {valueOf: function () { re
turn 'doremi'; } } }).animationName is "[object Object]" |
27 PASS new AnimationEvent('eventType', { elapsedTime: 0 }).elapsedTime is 0 | 27 PASS new AnimationEvent('eventType', { elapsedTime: 0 }).elapsedTime is 0 |
28 PASS new AnimationEvent('eventType', { elapsedTime: 123.45 }).elapsedTime is 123
.45 | 28 PASS new AnimationEvent('eventType', { elapsedTime: 123.45 }).elapsedTime is 123
.45 |
29 PASS new AnimationEvent('eventType', { elapsedTime: -123.45 }).elapsedTime is -1
23.45 | 29 PASS new AnimationEvent('eventType', { elapsedTime: -123.45 }).elapsedTime is -1
23.45 |
30 PASS new AnimationEvent('eventType', { elapsedTime: 18446744073709551615 }).elap
sedTime is 18446744073709551615 | 30 PASS new AnimationEvent('eventType', { elapsedTime: 18446744073709551615 }).elap
sedTime is 18446744073709551615 |
31 PASS new AnimationEvent('eventType', { elapsedTime: NaN }).elapsedTime is NaN | 31 PASS new AnimationEvent('eventType', { elapsedTime: NaN }).elapsedTime threw exc
eption TypeError: Failed to construct 'WebKitAnimationEvent': The provided doubl
e value is non-finite.. |
32 PASS new AnimationEvent('eventType', { elapsedTime: Infinity }).elapsedTime is I
nfinity | 32 PASS new AnimationEvent('eventType', { elapsedTime: Infinity }).elapsedTime thre
w exception TypeError: Failed to construct 'WebKitAnimationEvent': The provided
double value is non-finite.. |
33 PASS new AnimationEvent('eventType', { elapsedTime: -Infinity }).elapsedTime is
-Infinity | 33 PASS new AnimationEvent('eventType', { elapsedTime: -Infinity }).elapsedTime thr
ew exception TypeError: Failed to construct 'WebKitAnimationEvent': The provided
double value is non-finite.. |
34 PASS new AnimationEvent('eventType', { elapsedTime: undefined }).elapsedTime is
0 | 34 PASS new AnimationEvent('eventType', { elapsedTime: undefined }).elapsedTime is
0 |
35 PASS new AnimationEvent('eventType', { elapsedTime: null }).elapsedTime is 0 | 35 PASS new AnimationEvent('eventType', { elapsedTime: null }).elapsedTime is 0 |
36 PASS new AnimationEvent('eventType', { elapsedTime: false }).elapsedTime is 0 | 36 PASS new AnimationEvent('eventType', { elapsedTime: false }).elapsedTime is 0 |
37 PASS new AnimationEvent('eventType', { elapsedTime: true }).elapsedTime is 1 | 37 PASS new AnimationEvent('eventType', { elapsedTime: true }).elapsedTime is 1 |
38 PASS new AnimationEvent('eventType', { elapsedTime: '' }).elapsedTime is 0 | 38 PASS new AnimationEvent('eventType', { elapsedTime: '' }).elapsedTime is 0 |
39 PASS new AnimationEvent('eventType', { elapsedTime: 'doremi' }).elapsedTime is N
aN | 39 PASS new AnimationEvent('eventType', { elapsedTime: 'doremi' }).elapsedTime thre
w exception TypeError: Failed to construct 'WebKitAnimationEvent': The provided
double value is non-finite.. |
40 PASS new AnimationEvent('eventType', { elapsedTime: [] }).elapsedTime is 0 | 40 PASS new AnimationEvent('eventType', { elapsedTime: [] }).elapsedTime is 0 |
41 PASS new AnimationEvent('eventType', { elapsedTime: [123.45] }).elapsedTime is 1
23.45 | 41 PASS new AnimationEvent('eventType', { elapsedTime: [123.45] }).elapsedTime is 1
23.45 |
42 PASS new AnimationEvent('eventType', { elapsedTime: [123.45, 678.90] }).elapsedT
ime is NaN | 42 PASS new AnimationEvent('eventType', { elapsedTime: [123.45, 678.90] }).elapsedT
ime threw exception TypeError: Failed to construct 'WebKitAnimationEvent': The p
rovided double value is non-finite.. |
43 PASS new AnimationEvent('eventType', { elapsedTime: {doremi: 123.45} }).elapsedT
ime is NaN | 43 PASS new AnimationEvent('eventType', { elapsedTime: {doremi: 123.45} }).elapsedT
ime threw exception TypeError: Failed to construct 'WebKitAnimationEvent': The p
rovided double value is non-finite.. |
44 PASS new AnimationEvent('eventType', { elapsedTime: {valueOf: function () { retu
rn 123.45 } } }).elapsedTime is 123.45 | 44 PASS new AnimationEvent('eventType', { elapsedTime: {valueOf: function () { retu
rn 123.45 } } }).elapsedTime is 123.45 |
45 PASS new AnimationEvent('eventType', { bubbles: true, cancelable: true, animatio
nName: 'doremi', elapsedTime: 123.45 }).bubbles is true | 45 PASS new AnimationEvent('eventType', { bubbles: true, cancelable: true, animatio
nName: 'doremi', elapsedTime: 123.45 }).bubbles is true |
46 PASS new AnimationEvent('eventType', { bubbles: true, cancelable: true, animatio
nName: 'doremi', elapsedTime: 123.45 }).cancelable is true | 46 PASS new AnimationEvent('eventType', { bubbles: true, cancelable: true, animatio
nName: 'doremi', elapsedTime: 123.45 }).cancelable is true |
47 PASS new AnimationEvent('eventType', { bubbles: true, cancelable: true, animatio
nName: 'doremi', elapsedTime: 123.45 }).animationName is 'doremi' | 47 PASS new AnimationEvent('eventType', { bubbles: true, cancelable: true, animatio
nName: 'doremi', elapsedTime: 123.45 }).animationName is 'doremi' |
48 PASS new AnimationEvent('eventType', { bubbles: true, cancelable: true, animatio
nName: 'doremi', elapsedTime: 123.45 }).elapsedTime is 123.45 | 48 PASS new AnimationEvent('eventType', { bubbles: true, cancelable: true, animatio
nName: '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 |
OLD | NEW |