Summary

Harness status: OK

Found 41 tests

Details

ResultTest NameMessage
Passthe event is an instance of TransitionEvent
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /css/css-transitions/transitionevent-interface.html:13:3)
Passthe event inherts from Event
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /css/css-transitions/transitionevent-interface.html:18:3)
PassMissing type argument
Asserts run
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "function() {     new TransitionEvent();   }", "First argument is required, so was expecting a TypeError.")
    at Test.<anonymous> ( /css/css-transitions/transitionevent-interface.html:22:3)
Passtype argument is string
Asserts run
Pass
assert_equals("test", "test")
    at Test.<anonymous> ( /css/css-transitions/transitionevent-interface.html:29:3)
Passtype argument is null
Asserts run
Pass
assert_equals("null", "null")
    at Test.<anonymous> ( /css/css-transitions/transitionevent-interface.html:34:3)
Passevent type set to undefined
Asserts run
Pass
assert_equals("undefined", "undefined")
    at Test.<anonymous> ( /css/css-transitions/transitionevent-interface.html:39:3)
PasspropertyName has default value of empty string
Asserts run
Pass
assert_equals("", "")
    at Test.<anonymous> ( /css/css-transitions/transitionevent-interface.html:44:3)
PasselapsedTime has default value of 0.0
Asserts run
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /css/css-transitions/transitionevent-interface.html:49:3)
PasspropertyName is readonly
Asserts run
Pass
assert_readonly(object "[object TransitionEvent]", "propertyName", "readonly attribute value")
    at Test.<anonymous> ( /css/css-transitions/transitionevent-interface.html:54:3)
PasselapsedTime is readonly
Asserts run
Pass
assert_readonly(object "[object TransitionEvent]", "elapsedTime", "readonly attribute value")
    at Test.<anonymous> ( /css/css-transitions/transitionevent-interface.html:59:3)
PassanimationEventInit argument is null
Asserts run
Pass
assert_equals("", "")
    at Test.<anonymous> ( /css/css-transitions/transitionevent-interface.html:64:3)
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /css/css-transitions/transitionevent-interface.html:65:3)
PassanimationEventInit argument is undefined
Asserts run
Pass
assert_equals("", "")
    at Test.<anonymous> ( /css/css-transitions/transitionevent-interface.html:70:3)
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /css/css-transitions/transitionevent-interface.html:71:3)
PassanimationEventInit argument is empty dictionary
Asserts run
Pass
assert_equals("", "")
    at Test.<anonymous> ( /css/css-transitions/transitionevent-interface.html:76:3)
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /css/css-transitions/transitionevent-interface.html:77:3)
PassTransitionEvent.pseudoElement initialized from the dictionary
Asserts run
Pass
assert_equals("::testPseudo", "::testPseudo")
    at Test.<anonymous> ( /css/css-transitions/transitionevent-interface.html:82:3)
PasspropertyName set to 'sample'
Asserts run
Pass
assert_equals("sample", "sample")
    at Test.<anonymous> ( /css/css-transitions/transitionevent-interface.html:87:3)
PasspropertyName set to undefined
Asserts run
Pass
assert_equals("", "")
    at Test.<anonymous> ( /css/css-transitions/transitionevent-interface.html:92:3)
PasspropertyName set to null
Asserts run
Pass
assert_equals("null", "null")
    at Test.<anonymous> ( /css/css-transitions/transitionevent-interface.html:97:3)
PasspropertyName set to false
Asserts run
Pass
assert_equals("false", "false")
    at Test.<anonymous> ( /css/css-transitions/transitionevent-interface.html:102:3)
PasspropertyName set to true
Asserts run
Pass
assert_equals("true", "true")
    at Test.<anonymous> ( /css/css-transitions/transitionevent-interface.html:107:3)
PasspropertyName set to a number
Asserts run
Pass
assert_equals("0.5", "0.5")
    at Test.<anonymous> ( /css/css-transitions/transitionevent-interface.html:112:3)
PasspropertyName set to []
Asserts run
Pass
assert_equals("", "")
    at Test.<anonymous> ( /css/css-transitions/transitionevent-interface.html:117:3)
PasspropertyName set to [1, 2, 3]
Asserts run
Pass
assert_equals("1,2,3", "1,2,3")
    at Test.<anonymous> ( /css/css-transitions/transitionevent-interface.html:122:3)
PasspropertyName set to an object
Asserts run
Pass
assert_equals("[object Object]", "[object Object]")
    at Test.<anonymous> ( /css/css-transitions/transitionevent-interface.html:127:3)
PasspropertyName set to an object with a valueOf function
Asserts run
Pass
assert_equals("[object Object]", "[object Object]")
    at Test.<anonymous> ( /css/css-transitions/transitionevent-interface.html:133:3)
PasselapsedTime set to 0.5
Asserts run
Pass
assert_equals(0.5, 0.5)
    at Test.<anonymous> ( /css/css-transitions/transitionevent-interface.html:138:3)
PasselapsedTime set to -0.5
Asserts run
Pass
assert_equals(-0.5, -0.5)
    at Test.<anonymous> ( /css/css-transitions/transitionevent-interface.html:143:3)
PasselapsedTime set to undefined
Asserts run
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /css/css-transitions/transitionevent-interface.html:148:3)
PasselapsedTime set to null
Asserts run
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /css/css-transitions/transitionevent-interface.html:153:3)
PasselapsedTime set to false
Asserts run
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /css/css-transitions/transitionevent-interface.html:158:3)
PasselapsedTime set to true
Asserts run
Pass
assert_equals(1, 1)
    at Test.<anonymous> ( /css/css-transitions/transitionevent-interface.html:163:3)
PasselapsedTime set to ''
Asserts run
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /css/css-transitions/transitionevent-interface.html:168:3)
PasselapsedTime set to []
Asserts run
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /css/css-transitions/transitionevent-interface.html:173:3)
PasselapsedTime set to [0.5]
Asserts run
Pass
assert_equals(0.5, 0.5)
    at Test.<anonymous> ( /css/css-transitions/transitionevent-interface.html:178:3)
PasselapsedTime set to an object with a valueOf function
Asserts run
Pass
assert_equals(0.5, 0.5)
    at Test.<anonymous> ( /css/css-transitions/transitionevent-interface.html:184:3)
PasselapsedTime cannot be set to NaN
Asserts run
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "function() {     new TransitionEvent("test", {elapsedTime: NaN});   }", "elapsedTime cannot be NaN so was expecting a TypeError")
    at Test.<anonymous> ( /css/css-transitions/transitionevent-interface.html:188:3)
PasselapsedTime cannot be set to Infinity
Asserts run
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "function() {     new TransitionEvent("test", {elapsedTime: Infinity});   }", "elapsedTime cannot be Infinity so was expecting a TypeError")
    at Test.<anonymous> ( /css/css-transitions/transitionevent-interface.html:194:3)
PasselapsedTime cannot be set to -Infinity
Asserts run
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "function() {     new TransitionEvent("test", {elapsedTime: -Infinity});   }", "elapsedTime cannot be -Infinity so was expecting a TypeError")
    at Test.<anonymous> ( /css/css-transitions/transitionevent-interface.html:200:3)
PasselapsedTime cannot be set to 'sample'
Asserts run
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "function() {     new TransitionEvent("test", {elapsedTime: "sample"});   }", "elapsedTime cannot be a string so was expecting a TypeError")
    at Test.<anonymous> ( /css/css-transitions/transitionevent-interface.html:206:3)
PasselapsedTime cannot be set to [0.5, 1.0]
Asserts run
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "function() {     new TransitionEvent("test", {elapsedTime: [0.5, 1.0]});   }", "elapsedTime cannot be a multi-element array so was expecting a TypeError")
    at Test.<anonymous> ( /css/css-transitions/transitionevent-interface.html:212:3)
PasselapsedTime cannot be set to an object
Asserts run
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "function() {     new TransitionEvent("test", {elapsedTime: { sample: 0.5}});   }", "elapsedTime cannot be an object so was expecting a TypeError")
    at Test.<anonymous> ( /css/css-transitions/transitionevent-interface.html:218:3)
PassTransitionEventInit properties set value
Asserts run
Pass
assert_equals("sample", "sample")
    at Test.<anonymous> ( /css/css-transitions/transitionevent-interface.html:226:3)
Pass
assert_equals(0.5, 0.5)
    at Test.<anonymous> ( /css/css-transitions/transitionevent-interface.html:227:3)