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

Side by Side Diff: third_party/WebKit/LayoutTests/media/media-element-play-after-eos-expected.txt

Issue 2031783002: Convert media-cont* and media-element* 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
« no previous file with comments | « third_party/WebKit/LayoutTests/media/media-element-play-after-eos.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 This tests ensure that media element emits the 'playing' event every time it sta rts playing after eos. It also ensure that 'pause' and 'ended' events are sent w hen media playback ends.
2
3 EVENT(loadedmetadata)
4 RUN(mediaElement.play())
5 EVENT(playing)
6 EVENT(pause)
7 EXPECTED (mediaElement.paused == 'true') OK
8 EVENT(ended)
9 EXPECTED (mediaElement.ended == 'true') OK
10 RUN(mediaElement.play())
11 EVENT(playing)
12 EVENT(pause)
13 EXPECTED (mediaElement.paused == 'true') OK
14 EVENT(ended)
15 EXPECTED (mediaElement.ended == 'true') OK
16 END OF TEST
17
OLDNEW
« no previous file with comments | « third_party/WebKit/LayoutTests/media/media-element-play-after-eos.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698