Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(33)

Side by Side Diff: third_party/WebKit/LayoutTests/media/track/track-webvtt-tc001-utf8-expected.txt

Issue 1956213002: Convert track-webvtt-tc[000-002] tests to testharness.js (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comments Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 Tests that UTF-8 encoded characters are recognized properly and that different e ncodings (iconv) are not recognized as a WebVTT file (we do allow it, it just lo oks ugly).
2
3
4 *** Testing text track 0
5 EXPECTED (cues.length == '2') OK
6 EXPECTED (cues[0].id == '1') OK
7 EXPECTED (cues[0].startTime == '0') OK
8 EXPECTED (cues[0].endTime == '30.5') OK
9 EXPECTED (cues[0].text == '景気判断') OK
10 EXPECTED (cues[1].id == '2') OK
11 EXPECTED (cues[1].startTime == '31') OK
12 EXPECTED (cues[1].endTime == '1200.5') OK
13 EXPECTED (cues[1].text == '電力不足') OK
14
15 *** Testing text track 1
16 EXPECTED (cues.length == '2') OK
17 END OF TEST
18
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698