blob: 13cf90c0e187e7228c00e627d34dd7d1f55b45ad [file] [log] [blame]
Tests that line terminators \r, \n, or \r\n are properly parsed, even when there is no newline at eof.
*** Testing text track 0
EXPECTED (cues.length == '1') OK
EXPECTED (cues[0].id == '1') OK
EXPECTED (cues[0].startTime == '0') OK
EXPECTED (cues[0].endTime == '30.5') OK
EXPECTED (cues[0].text == 'Bear is Coming!!!!!') OK
*** Testing text track 1
EXPECTED (cues.length == '1') OK
EXPECTED (cues[0].id == '1') OK
EXPECTED (cues[0].startTime == '0') OK
EXPECTED (cues[0].endTime == '30.5') OK
EXPECTED (cues[0].text == 'Bear is Coming!!!!!') OK
END OF TEST