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

Side by Side Diff: third_party/WebKit/LayoutTests/media/track/track-webvtt-tc017-line-position-expected.txt

Issue 2012833002: Convert track-webvtt-tc[016-018] tests to testharness.js (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comments Created 4 years, 6 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 cue line position from settings.
2
3
4 *** Testing text track 0
5 EXPECTED (cues.length == '7') OK
6 EXPECTED (cues[0].line == '0') OK
7 EXPECTED (cues[0].snapToLines == 'false') OK
8 EXPECTED (cues[1].line == '0') OK
9 EXPECTED (cues[1].snapToLines == 'true') OK
10 EXPECTED (cues[2].line == '50') OK
11 EXPECTED (cues[2].snapToLines == 'false') OK
12 EXPECTED (cues[3].line == '5') OK
13 EXPECTED (cues[3].snapToLines == 'true') OK
14 EXPECTED (cues[4].line == '100') OK
15 EXPECTED (cues[4].snapToLines == 'false') OK
16 EXPECTED (cues[5].line == '-1') OK
17 EXPECTED (cues[5].snapToLines == 'true') OK
18 EXPECTED (cues[6].line == '500') OK
19 EXPECTED (cues[6].snapToLines == 'true') OK
20
21 *** Testing text track 1
22 EXPECTED (cues.length == '6') OK
23 EXPECTED (cues[0].line == 'auto') OK
24 EXPECTED (cues[0].snapToLines == 'true') OK
25 EXPECTED (cues[1].line == 'auto') OK
26 EXPECTED (cues[1].snapToLines == 'true') OK
27 EXPECTED (cues[2].line == 'auto') OK
28 EXPECTED (cues[2].snapToLines == 'true') OK
29 EXPECTED (cues[3].line == 'auto') OK
30 EXPECTED (cues[3].snapToLines == 'true') OK
31 EXPECTED (cues[4].line == 'auto') OK
32 EXPECTED (cues[4].snapToLines == 'true') OK
33 EXPECTED (cues[5].line == 'auto') OK
34 EXPECTED (cues[5].snapToLines == 'true') OK
35 END OF TEST
36
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698