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

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

Issue 1858073002: Media: Report HTMLMediaElement player errors to devtools console Base URL: https://chromium.googlesource.com/chromium/src.git@fix_472253_1
Patch Set: Rebase, attempt to fix 1 regressed expectation, temporary logging for investigating 2 other regress… 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
OLDNEW
1 CONSOLE ERROR: MEDIA_ERROR_LOG_ENTRY {"error":"Failed loading buffered resource. Error code=-6"}
1 1. Test that an invalid src attribute fires an error when the file fails to load . 2 1. Test that an invalid src attribute fires an error when the file fails to load .
2 2. Test that changing src attribute triggers load after a load fails. 3 2. Test that changing src attribute triggers load after a load fails.
3 3. Test that changing src triggers load once a file is known to be valid. 4 3. Test that changing src triggers load once a file is known to be valid.
4 5
5 6
6 EVENT(error) 7 EVENT(error)
7 EXPECTED (relativeURL(video.currentSrc) == 'bogus') OK 8 EXPECTED (relativeURL(video.currentSrc) == 'bogus') OK
8 EXPECTED (video.networkState == '3') OK 9 EXPECTED (video.networkState == '3') OK
9 EXPECTED (video.error.code == '4') OK 10 EXPECTED (video.error.code == '4') OK
10 11
11 12
12 EVENT(loadedmetadata) 13 EVENT(loadedmetadata)
13 EXPECTED (stripExtension(relativeURL(video.currentSrc)) == 'content/test') OK 14 EXPECTED (stripExtension(relativeURL(video.currentSrc)) == 'content/test') OK
14 EXPECTED (isNaN(video.duration) == 'false') OK 15 EXPECTED (isNaN(video.duration) == 'false') OK
15 16
16 17
17 EVENT(loadedmetadata) 18 EVENT(loadedmetadata)
18 EXPECTED (stripExtension(relativeURL(video.currentSrc)) == 'content/counting') O K 19 EXPECTED (stripExtension(relativeURL(video.currentSrc)) == 'content/counting') O K
19 EXPECTED (isNaN(video.duration) == 'false') OK 20 EXPECTED (isNaN(video.duration) == 'false') OK
20 21
21 END OF TEST 22 END OF TEST
22 23
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698