Pass | the event is an instance of AnimationEvent | Asserts runPass | assert_true(true)
at Test.<anonymous> ( /css/css-animations/animationevent-interface.js:4:5) |
|
Pass | the event inherts from Event | Asserts runPass | assert_true(true)
at Test.<anonymous> ( /css/css-animations/animationevent-interface.js:9:5) |
|
Pass | Missing type argument | Asserts runPass | assert_throws_js(function "function TypeError() { [native code] }", function "function() { new AnimationEvent(); }", "First argument is required, so was expecting a TypeError.")
at Test.<anonymous> ( /css/css-animations/animationevent-interface.js:13:5) |
|
Pass | type argument is string | Asserts runPass | assert_equals("test", "test")
at Test.<anonymous> ( /css/css-animations/animationevent-interface.js:20:5) |
|
Pass | type argument is null | Asserts runPass | assert_equals("null", "null")
at Test.<anonymous> ( /css/css-animations/animationevent-interface.js:25:5) |
|
Pass | event type set to undefined | Asserts runPass | assert_equals("undefined", "undefined")
at Test.<anonymous> ( /css/css-animations/animationevent-interface.js:30:5) |
|
Pass | animationName has default value of empty string | Asserts runPass | assert_equals("", "")
at Test.<anonymous> ( /css/css-animations/animationevent-interface.js:35:5) |
|
Pass | elapsedTime has default value of 0.0 | Asserts runPass | assert_equals(0, 0)
at Test.<anonymous> ( /css/css-animations/animationevent-interface.js:40:5) |
|
Pass | animationName is readonly | Asserts runPass | assert_readonly(object "[object AnimationEvent]", "animationName", "readonly attribute value")
at Test.<anonymous> ( /css/css-animations/animationevent-interface.js:45:5) |
|
Pass | elapsedTime is readonly | Asserts runPass | assert_readonly(object "[object AnimationEvent]", "elapsedTime", "readonly attribute value")
at Test.<anonymous> ( /css/css-animations/animationevent-interface.js:50:5) |
|
Pass | animationEventInit argument is null | Asserts runPass | assert_equals("", "")
at Test.<anonymous> ( /css/css-animations/animationevent-interface.js:55:5) | Pass | assert_equals(0, 0)
at Test.<anonymous> ( /css/css-animations/animationevent-interface.js:56:5) |
|
Pass | animationEventInit argument is undefined | Asserts runPass | assert_equals("", "")
at Test.<anonymous> ( /css/css-animations/animationevent-interface.js:61:5) | Pass | assert_equals(0, 0)
at Test.<anonymous> ( /css/css-animations/animationevent-interface.js:62:5) |
|
Pass | animationEventInit argument is empty dictionary | Asserts runPass | assert_equals("", "")
at Test.<anonymous> ( /css/css-animations/animationevent-interface.js:67:5) | Pass | assert_equals(0, 0)
at Test.<anonymous> ( /css/css-animations/animationevent-interface.js:68:5) |
|
Pass | AnimationEvent.pseudoElement initialized from the dictionary | Asserts runPass | assert_equals("::testPseudo", "::testPseudo")
at Test.<anonymous> ( /css/css-animations/animationevent-interface.js:73:5) |
|
Pass | animationName set to 'sample' | Asserts runPass | assert_equals("sample", "sample")
at Test.<anonymous> ( /css/css-animations/animationevent-interface.js:78:5) |
|
Pass | animationName set to undefined | Asserts runPass | assert_equals("", "")
at Test.<anonymous> ( /css/css-animations/animationevent-interface.js:83:5) |
|
Pass | animationName set to null | Asserts runPass | assert_equals("null", "null")
at Test.<anonymous> ( /css/css-animations/animationevent-interface.js:88:5) |
|
Pass | animationName set to false | Asserts runPass | assert_equals("false", "false")
at Test.<anonymous> ( /css/css-animations/animationevent-interface.js:93:5) |
|
Pass | animationName set to true | Asserts runPass | assert_equals("true", "true")
at Test.<anonymous> ( /css/css-animations/animationevent-interface.js:98:5) |
|
Pass | animationName set to a number | Asserts runPass | assert_equals("0.5", "0.5")
at Test.<anonymous> ( /css/css-animations/animationevent-interface.js:103:5) |
|
Pass | animationName set to [] | Asserts runPass | assert_equals("", "")
at Test.<anonymous> ( /css/css-animations/animationevent-interface.js:108:5) |
|
Pass | animationName set to [1, 2, 3] | Asserts runPass | assert_equals("1,2,3", "1,2,3")
at Test.<anonymous> ( /css/css-animations/animationevent-interface.js:113:5) |
|
Pass | animationName set to an object | Asserts runPass | assert_equals("[object Object]", "[object Object]")
at Test.<anonymous> ( /css/css-animations/animationevent-interface.js:118:5) |
|
Pass | animationName set to an object with a valueOf function | Asserts runPass | assert_equals("[object Object]", "[object Object]")
at Test.<anonymous> ( /css/css-animations/animationevent-interface.js:124:5) |
|
Pass | elapsedTime set to 0.5 | Asserts runPass | assert_equals(0.5, 0.5)
at Test.<anonymous> ( /css/css-animations/animationevent-interface.js:129:5) |
|
Pass | elapsedTime set to -0.5 | Asserts runPass | assert_equals(-0.5, -0.5)
at Test.<anonymous> ( /css/css-animations/animationevent-interface.js:134:5) |
|
Pass | elapsedTime set to undefined | Asserts runPass | assert_equals(0, 0)
at Test.<anonymous> ( /css/css-animations/animationevent-interface.js:139:5) |
|
Pass | elapsedTime set to null | Asserts runPass | assert_equals(0, 0)
at Test.<anonymous> ( /css/css-animations/animationevent-interface.js:144:5) |
|
Pass | elapsedTime set to false | Asserts runPass | assert_equals(0, 0)
at Test.<anonymous> ( /css/css-animations/animationevent-interface.js:149:5) |
|
Pass | elapsedTime set to true | Asserts runPass | assert_equals(1, 1)
at Test.<anonymous> ( /css/css-animations/animationevent-interface.js:154:5) |
|
Pass | elapsedTime set to '' | Asserts runPass | assert_equals(0, 0)
at Test.<anonymous> ( /css/css-animations/animationevent-interface.js:159:5) |
|
Pass | elapsedTime set to [] | Asserts runPass | assert_equals(0, 0)
at Test.<anonymous> ( /css/css-animations/animationevent-interface.js:164:5) |
|
Pass | elapsedTime set to [0.5] | Asserts runPass | assert_equals(0.5, 0.5)
at Test.<anonymous> ( /css/css-animations/animationevent-interface.js:169:5) |
|
Pass | elapsedTime set to an object with a valueOf function | Asserts runPass | assert_equals(0.5, 0.5)
at Test.<anonymous> ( /css/css-animations/animationevent-interface.js:175:5) |
|
Pass | elapsedTime cannot be set to NaN | Asserts runPass | assert_throws_js(function "function TypeError() { [native code] }", function "function() { new AnimationEvent("test", {elapsedTime: NaN}); }", "elapsedTime cannot be NaN so was expecting a TypeError")
at Test.<anonymous> ( /css/css-animations/animationevent-interface.js:179:5) |
|
Pass | elapsedTime cannot be set to Infinity | Asserts runPass | assert_throws_js(function "function TypeError() { [native code] }", function "function() { new AnimationEvent("test", {elapsedTime: Infinity}); }", "elapsedTime cannot be Infinity so was expecting a TypeError")
at Test.<anonymous> ( /css/css-animations/animationevent-interface.js:185:5) |
|
Pass | elapsedTime cannot be set to -Infinity | Asserts runPass | assert_throws_js(function "function TypeError() { [native code] }", function "function() { new AnimationEvent("test", {elapsedTime: -Infinity}); }", "elapsedTime cannot be -Infinity so was expecting a TypeError")
at Test.<anonymous> ( /css/css-animations/animationevent-interface.js:191:5) |
|
Pass | elapsedTime cannot be set to 'sample' | Asserts runPass | assert_throws_js(function "function TypeError() { [native code] }", function "function() { new AnimationEvent("test", {elapsedTime: "sample"}); }", "elapsedTime cannot be a string so was expecting a TypeError")
at Test.<anonymous> ( /css/css-animations/animationevent-interface.js:197:5) |
|
Pass | elapsedTime cannot be set to [0.5, 1.0] | Asserts runPass | assert_throws_js(function "function TypeError() { [native code] }", function "function() { new AnimationEvent("test", {elapsedTime: [0.5, 1.0]}); }", "elapsedTime cannot be a multi-element array so was expecting a TypeError")
at Test.<anonymous> ( /css/css-animations/animationevent-interface.js:203:5) |
|
Pass | elapsedTime cannot be set to an object | Asserts runPass | assert_throws_js(function "function TypeError() { [native code] }", function "function() { new AnimationEvent("test", {elapsedTime: { sample: 0.5}}); }", "elapsedTime cannot be an object so was expecting a TypeError")
at Test.<anonymous> ( /css/css-animations/animationevent-interface.js:209:5) |
|
Pass | AnimationEventInit properties set value | Asserts runPass | assert_equals("sample", "sample")
at Test.<anonymous> ( /css/css-animations/animationevent-interface.js:217:5) | Pass | assert_equals(0.5, 0.5)
at Test.<anonymous> ( /css/css-animations/animationevent-interface.js:218:5) |
|