Pass | VTTCue constructor exceptions, invalid start time | Asserts runPass | assert_throws_js(function "function TypeError() { [native code] }", function "function() { new VTTCue(NaN, 0, 'foo'); }")
at Test.<anonymous> ( /webvtt/api/VTTCue/constructor-exceptions.html:8:5) | Pass | assert_throws_js(function "function TypeError() { [native code] }", function "function() { new VTTCue(Infinity, 0, 'foo'); }")
at Test.<anonymous> ( /webvtt/api/VTTCue/constructor-exceptions.html:9:5) | Pass | assert_throws_js(function "function TypeError() { [native code] }", function "function() { new VTTCue('tomorrow', 0, 'foo'); }")
at Test.<anonymous> ( /webvtt/api/VTTCue/constructor-exceptions.html:10:5) |
|
Pass | VTTCue constructor exceptions, invalid end time | Asserts runPass | assert_throws_js(function "function TypeError() { [native code] }", function "function() { new VTTCue(0, NaN, 'foo'); }")
at Test.<anonymous> ( /webvtt/api/VTTCue/constructor-exceptions.html:13:5) | Pass | assert_throws_js(function "function TypeError() { [native code] }", function "function() { new VTTCue(0, -Infinity, 'foo'); }")
at Test.<anonymous> ( /webvtt/api/VTTCue/constructor-exceptions.html:14:5) | Pass | assert_throws_js(function "function TypeError() { [native code] }", function "function() { new VTTCue(0, 'tomorrow', 'foo'); }")
at Test.<anonymous> ( /webvtt/api/VTTCue/constructor-exceptions.html:15:5) |
|
Pass | VTTCue constructor exceptions, valueOf | Asserts runPass | assert_equals(42, 42)
at Test.<anonymous> ( /webvtt/api/VTTCue/constructor-exceptions.html:21:5) | Pass | assert_equals(84, 84)
at Test.<anonymous> ( /webvtt/api/VTTCue/constructor-exceptions.html:22:5) | Pass | assert_equals("bar", "bar")
at Test.<anonymous> ( /webvtt/api/VTTCue/constructor-exceptions.html:23:5) |
|