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

Side by Side Diff: third_party/WebKit/LayoutTests/media/track/track-css-matching-timestamps-expected.txt

Issue 1875923002: Convert track tests from video-test.js to testharness.js based (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comments Created 4 years, 8 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
« no previous file with comments | « third_party/WebKit/LayoutTests/media/track/track-css-matching-timestamps.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 Test that cues are being matched properly by :past and :future pseudo classes.
2 EVENT(canplaythrough)
3 EVENT(seeked)
4 EXPECTED (getComputedStyle(cueNode).color == 'rgb(128, 128, 128)') OK
5 EXPECTED (getComputedStyle(cueNode).color == 'rgb(128, 128, 128)') OK
6 EXPECTED (getComputedStyle(cueNode).color == 'rgb(128, 128, 128)') OK
7 EXPECTED (getComputedStyle(cueNode).color == 'rgb(128, 128, 128)') OK
8 EXPECTED (getComputedStyle(cueNode).color == 'rgb(128, 128, 128)') OK
9
10 RUN(video.currentTime = 0.3)
11 EVENT(seeked)
12 EXPECTED (getComputedStyle(cueNode).color == 'rgb(0, 255, 0)') OK
13 EXPECTED (getComputedStyle(cueNode).color == 'rgb(128, 128, 128)') OK
14 EXPECTED (getComputedStyle(cueNode).color == 'rgb(128, 128, 128)') OK
15 EXPECTED (getComputedStyle(cueNode).color == 'rgb(128, 128, 128)') OK
16 EXPECTED (getComputedStyle(cueNode).color == 'rgb(128, 128, 128)') OK
17
18 RUN(video.currentTime = 0.5)
19 EVENT(seeked)
20 EXPECTED (getComputedStyle(cueNode).color == 'rgb(0, 255, 0)') OK
21 EXPECTED (getComputedStyle(cueNode).color == 'rgb(0, 255, 0)') OK
22 EXPECTED (getComputedStyle(cueNode).color == 'rgb(128, 128, 128)') OK
23 EXPECTED (getComputedStyle(cueNode).color == 'rgb(128, 128, 128)') OK
24 EXPECTED (getComputedStyle(cueNode).color == 'rgb(128, 128, 128)') OK
25
26 RUN(video.currentTime = 0.7)
27 EVENT(seeked)
28 EXPECTED (getComputedStyle(cueNode).color == 'rgb(0, 255, 0)') OK
29 EXPECTED (getComputedStyle(cueNode).color == 'rgb(0, 255, 0)') OK
30 EXPECTED (getComputedStyle(cueNode).color == 'rgb(0, 255, 0)') OK
31 EXPECTED (getComputedStyle(cueNode).color == 'rgb(128, 128, 128)') OK
32 EXPECTED (getComputedStyle(cueNode).color == 'rgb(0, 255, 0)') OK
33
34 RUN(video.currentTime = 0.9)
35 EVENT(seeked)
36 EXPECTED (getComputedStyle(cueNode).color == 'rgb(0, 255, 0)') OK
37 EXPECTED (getComputedStyle(cueNode).color == 'rgb(0, 255, 0)') OK
38 EXPECTED (getComputedStyle(cueNode).color == 'rgb(0, 255, 0)') OK
39 EXPECTED (getComputedStyle(cueNode).color == 'rgb(0, 255, 0)') OK
40 EXPECTED (getComputedStyle(cueNode).color == 'rgb(0, 255, 0)') OK
41 END OF TEST
42
OLDNEW
« no previous file with comments | « third_party/WebKit/LayoutTests/media/track/track-css-matching-timestamps.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698