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

Side by Side Diff: third_party/WebKit/LayoutTests/media/video-src-empty-expected.txt

Issue 2092373002: Convert video-src* tests to testharness.js (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comments Created 4 years, 5 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 <video> element with src="" should invoke media element's load algorithm and sho uld fire 'error' event. Network state should be NETWORK_NO_SOURCE and set error to MEDIA_ERR_SRC_NOT_SUPPORTED.
2
3 ** <video> with valid non-empty 'src' attribute**
4 EVENT(loadstart)
5 EVENT(loadedmetadata)
6 EVENT(loadeddata)
7 EVENT(canplaythrough)
8
9 ** <video> with empty src attribute**
10 RUN(video.src = "")
11 EVENT(abort)
12 EVENT(emptied)
13 EVENT(loadstart)
14 EVENT(error)
15
16 'error' event:
17 EXPECTED (event.target == '[object HTMLVideoElement]') OK
18 EXPECTED (video.error.code == '4') OK
19 EXPECTED (video.networkState == '3') OK
20 END OF TEST
21
OLDNEW
« no previous file with comments | « third_party/WebKit/LayoutTests/media/video-src-empty.html ('k') | third_party/WebKit/LayoutTests/media/video-src-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698