blob: c219c0520f4bb247d4d6ebdad6a7b255ded0a0b5 [file] [log] [blame]
Tests that the parser properly ignores a UTF-8 BOM character at the beginning of a file and all other cues are properly parsed.
*** Testing text track 0
EXPECTED (cues.length == '2') OK
EXPECTED (cues[0].id == '1') OK
EXPECTED (cues[0].startTime == '0') OK
EXPECTED (cues[0].endTime == '30.5') OK
EXPECTED (cues[0].getCueAsSource() == 'Bear is Coming!!!!!') OK
EXPECTED (cues[1].id == '2') OK
EXPECTED (cues[1].startTime == '31') OK
EXPECTED (cues[1].endTime == '1200.5') OK
EXPECTED (cues[1].getCueAsSource() == 'I said Bear is coming!!!!') OK
END OF TEST