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

Side by Side Diff: third_party/WebKit/LayoutTests/media/video-size-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 Test <video> element size with and without 'src' and 'poster' attributes. 2 Test <video> element size with and without 'src' and 'poster' attributes.
2 3
3 Testing movie with no 'src' and no 'poster', with 'width' and 'height' attribute s. 4 Testing movie with no 'src' and no 'poster', with 'width' and 'height' attribute s.
4 EXPECTED (video.clientWidth == '640') OK 5 EXPECTED (video.clientWidth == '640') OK
5 EXPECTED (video.clientHeight == '480') OK 6 EXPECTED (video.clientHeight == '480') OK
6 EXPECTED (video.videoWidth == '0') OK 7 EXPECTED (video.videoWidth == '0') OK
7 EXPECTED (video.videoHeight == '0') OK 8 EXPECTED (video.videoHeight == '0') OK
8 9
9 Removing 'width' and 'height' attributes. 10 Removing 'width' and 'height' attributes.
10 Testing movie with no 'src' and no 'poster', with NO 'width' and 'height' attrib utes, should be default size. 11 Testing movie with no 'src' and no 'poster', with NO 'width' and 'height' attrib utes, should be default size.
(...skipping 18 matching lines...) Expand all
29 30
30 Setting 'src' to "content/bogus.[extension]" 'poster' to "content/greenbox.png" 31 Setting 'src' to "content/bogus.[extension]" 'poster' to "content/greenbox.png"
31 Testing movie with 'poster' and invalid 'src', should be image size. 32 Testing movie with 'poster' and invalid 'src', should be image size.
32 EXPECTED (video.clientWidth == '25') OK 33 EXPECTED (video.clientWidth == '25') OK
33 EXPECTED (video.clientHeight == '25') OK 34 EXPECTED (video.clientHeight == '25') OK
34 EXPECTED (video.videoWidth == '0') OK 35 EXPECTED (video.videoWidth == '0') OK
35 EXPECTED (video.videoHeight == '0') OK 36 EXPECTED (video.videoHeight == '0') OK
36 37
37 END OF TEST 38 END OF TEST
38 39
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698