blob: 7cc134aef78fdb9d43c0090a4f9d25cd9992f2c3 [file] [log] [blame]
Tests that the parameter to TextTrack.addCue() / removeCue() is not nullable.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS track.addCue(null) threw exception TypeError: Argument 1 ('cue') to TextTrack.addCue must be an instance of TextTrackCue.
PASS track.removeCue(null) threw exception TypeError: Argument 1 ('cue') to TextTrack.removeCue must be an instance of TextTrackCue.
PASS successfullyParsed is true
TEST COMPLETE