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

Side by Side Diff: LayoutTests/media/video-seeking-expected.txt

Issue 17395006: Fix LayoutTests that assume canplay, playing, and canplaythrough will only fire once. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix event-attributes expectations. Created 7 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 | Annotate | Revision Log
« no previous file with comments | « LayoutTests/media/video-seeking.html ('k') | LayoutTests/media/video-test.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 Test that seeking attribute is true immediately after a seek, goes back to false when seeking completes, and that a 'seeked' event is fired for each seek 1 Test that seeking attribute is true immediately after a seek, goes back to false when seeking completes, and that a 'seeked' event is fired for each seek
2 2
3 EVENT(canplaythrough) 3 EVENT(canplaythrough)
4 RUN(video.currentTime = 0.5) 4 RUN(video.currentTime = 0.5)
5 5
6 EVENT(seeked) 6 EVENT(seeked)
7 7
8 EXPECTED (video.seeking == 'false') OK 8 EXPECTED (video.seeking == 'false') OK
9 EXPECTED (video.currentTime == '0.5') OK 9 EXPECTED (video.currentTime == '0.5') OK
10 RUN(video.currentTime = 1) 10 RUN(video.currentTime = 1)
11 EXPECTED (video.seeking == 'true') OK 11 EXPECTED (video.seeking == 'true') OK
12 12
13 EVENT(seeked) 13 EVENT(seeked)
14 14
15 EXPECTED (video.seeking == 'false') OK 15 EXPECTED (video.seeking == 'false') OK
16 EXPECTED (video.currentTime == '1') OK 16 EXPECTED (video.currentTime == '1') OK
17 RUN(video.currentTime = 1.5) 17 RUN(video.currentTime = 1.5)
18 EXPECTED (video.seeking == 'true') OK 18 EXPECTED (video.seeking == 'true') OK
19 19
20 EVENT(seeked) 20 EVENT(seeked)
21 21
22 EXPECTED (video.seeking == 'false') OK 22 EXPECTED (video.seeking == 'false') OK
23 EXPECTED (video.currentTime == '1.5') OK 23 EXPECTED (video.currentTime == '1.5') OK
24 RUN(video.currentTime = 2)
25 EXPECTED (video.seeking == 'true') OK
26
27 END OF TEST 24 END OF TEST
28 25
OLDNEW
« no previous file with comments | « LayoutTests/media/video-seeking.html ('k') | LayoutTests/media/video-test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698