mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Remove media element state changes triggered by network responses (#32643)
* Do not change media element ready state when network response is complete. * Do not fire multiple error events for the same media content. * Inform media backend when media response is complete. * Continue delaying the load event when a complete media response is received. * Only mark a media response as complete when the response is the active one. * Update expectations for imagebitmap tests using video element. * Update fetch ORB video test expectations. * Update media CSS selector test expectation for non-implemented feature. * Update expectations for media element tests that now work. * Updat expected result for failing reftest. * Update expected failure for test that loads an audio file in a video element. * Update media test expectation for unimplemented track feature. * Do not process media element ready state changes that are unchanged. * Reset media element ready state to Current when playback finishes. * Set media element ready state to Enough when appropriate player event is received. * Update test expectations.
This commit is contained in:
parent
f29dd64a7b
commit
72e6a1f007
16 changed files with 80 additions and 203 deletions
|
@ -1,2 +0,0 @@
|
|||
[mix-blend-mode-video.html]
|
||||
expected: FAIL
|
2
tests/wpt/meta/css/css-overflow/overflow-video.html.ini
vendored
Normal file
2
tests/wpt/meta/css/css-overflow/overflow-video.html.ini
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
[overflow-video.html]
|
||||
expected: FAIL
|
|
@ -1,4 +1,5 @@
|
|||
[media-playback-state.html]
|
||||
expected: TIMEOUT
|
||||
[Test :pseudo-class syntax is supported without throwing a SyntaxError]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -6,7 +7,7 @@
|
|||
expected: FAIL
|
||||
|
||||
[Test :paused pseudo-classes]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[Test :seeking pseudo-class]
|
||||
expected: FAIL
|
||||
expected: NOTRUN
|
||||
|
|
|
@ -27,101 +27,26 @@
|
|||
[ORB should block opaque text/plain: fetch(..., {mode: "no-cors"})]
|
||||
expected: FAIL
|
||||
|
||||
[ORB should block opaque text/plain: <audio src=...>]
|
||||
expected: TIMEOUT
|
||||
|
||||
[ORB should block opaque text/plain: <video src=...>]
|
||||
expected: NOTRUN
|
||||
|
||||
[ORB should block opaque text/plain: <script src=...>]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
||||
[ORB should block opaque application/json (non-empty): fetch(..., {mode: "no-cors"})]
|
||||
expected: NOTRUN
|
||||
|
||||
[ORB should block opaque application/json (non-empty): <img src=...>]
|
||||
expected: NOTRUN
|
||||
|
||||
[ORB should block opaque application/json (non-empty): <audio src=...>]
|
||||
expected: NOTRUN
|
||||
|
||||
[ORB should block opaque application/json (non-empty): <video src=...>]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
||||
[ORB should block opaque application/json (non-empty): <script src=...>]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
||||
[ORB should block opaque application/json (empty): fetch(..., {mode: "no-cors"})]
|
||||
expected: NOTRUN
|
||||
|
||||
[ORB should block opaque application/json (empty): <img src=...>]
|
||||
expected: NOTRUN
|
||||
|
||||
[ORB should block opaque application/json (empty): <audio src=...>]
|
||||
expected: NOTRUN
|
||||
|
||||
[ORB should block opaque application/json (empty): <video src=...>]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
||||
[ORB should block opaque application/json (empty): <script src=...>]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
||||
[ORB should block opaque application/json which contains non ascii characters: fetch(..., {mode: "no-cors"})]
|
||||
expected: NOTRUN
|
||||
|
||||
[ORB should block opaque application/json which contains non ascii characters: <img src=...>]
|
||||
expected: NOTRUN
|
||||
|
||||
[ORB should block opaque application/json which contains non ascii characters: <audio src=...>]
|
||||
expected: NOTRUN
|
||||
|
||||
[ORB should block opaque application/json which contains non ascii characters: <video src=...>]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
||||
[ORB should block opaque application/json which contains non ascii characters: <script src=...>]
|
||||
expected: NOTRUN
|
||||
|
||||
[ORB shouldn't block opaque image/png: fetch(..., {mode: "no-cors"})]
|
||||
expected: NOTRUN
|
||||
|
||||
[ORB shouldn't block opaque image/png: <img src=...>]
|
||||
expected: NOTRUN
|
||||
|
||||
[ORB shouldn't block opaque text/javascript: fetch(..., {mode: "no-cors"})]
|
||||
expected: NOTRUN
|
||||
|
||||
[ORB shouldn't block opaque text/javascript: <script src=...>]
|
||||
expected: NOTRUN
|
||||
|
||||
[ORB shouldn't block opaque text/javascript (utf16 encoded with BOM): fetch(..., {mode: "no-cors"})]
|
||||
expected: NOTRUN
|
||||
|
||||
[ORB shouldn't block opaque text/javascript (utf16 encoded with BOM): <script src=...>]
|
||||
expected: NOTRUN
|
||||
|
||||
[ORB shouldn't block opaque text/javascript (utf16 encoded without BOM but charset is provided in content-type): fetch(..., {mode: "no-cors"})]
|
||||
expected: NOTRUN
|
||||
|
||||
[ORB shouldn't block opaque text/javascript (utf16 encoded without BOM but charset is provided in content-type): <script src=...>]
|
||||
expected: NOTRUN
|
||||
|
||||
[ORB shouldn't block opaque text/javascript (iso-8559-1 encoded): fetch(..., {mode: "no-cors"})]
|
||||
expected: NOTRUN
|
||||
|
||||
[ORB shouldn't block opaque text/javascript (iso-8559-1 encoded): <script src=...>]
|
||||
expected: NOTRUN
|
||||
|
||||
[ORB shouldn't block text/javascript with valid asm.js: fetch(..., {mode: "no-cors"})]
|
||||
expected: NOTRUN
|
||||
|
||||
[ORB shouldn't block text/javascript with valid asm.js: <script src=...>]
|
||||
expected: NOTRUN
|
||||
|
||||
[ORB shouldn't block text/javascript with invalid asm.js: fetch(..., {mode: "no-cors"})]
|
||||
expected: NOTRUN
|
||||
|
||||
[ORB shouldn't block text/javascript with invalid asm.js: <script src=...>]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
||||
|
||||
[known-mime-type.sub.any.worker.html]
|
||||
|
|
|
@ -1,73 +1,25 @@
|
|||
[nosniff.sub.any.html]
|
||||
expected: TIMEOUT
|
||||
[ORB should block opaque text/plain with nosniff]
|
||||
expected: FAIL
|
||||
|
||||
[ORB should block opaque-response-blocklisted MIME type with nosniff]
|
||||
expected: FAIL
|
||||
|
||||
[ORB should block opaque response with empty Content-Type and nosniff]
|
||||
expected: FAIL
|
||||
|
||||
expected: ERROR
|
||||
[ORB should block opaque text/plain with nosniff: fetch(..., {mode: "no-cors"})]
|
||||
expected: FAIL
|
||||
|
||||
[ORB should block opaque text/plain with nosniff: <audio src=...>]
|
||||
expected: TIMEOUT
|
||||
|
||||
[ORB should block opaque text/plain with nosniff: <video src=...>]
|
||||
expected: NOTRUN
|
||||
|
||||
[ORB should block opaque text/plain with nosniff: <script src=...>]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
||||
[ORB should block opaque-response-blocklisted MIME type with nosniff: fetch(..., {mode: "no-cors"})]
|
||||
expected: NOTRUN
|
||||
|
||||
[ORB should block opaque-response-blocklisted MIME type with nosniff: <img src=...>]
|
||||
expected: NOTRUN
|
||||
|
||||
[ORB should block opaque-response-blocklisted MIME type with nosniff: <audio src=...>]
|
||||
expected: NOTRUN
|
||||
|
||||
[ORB should block opaque-response-blocklisted MIME type with nosniff: <video src=...>]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
||||
[ORB should block opaque-response-blocklisted MIME type with nosniff: <script src=...>]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
||||
[ORB should block opaque response with empty Content-Type and nosniff: fetch(..., {mode: "no-cors"})]
|
||||
expected: NOTRUN
|
||||
|
||||
[ORB should block opaque response with empty Content-Type and nosniff: <img src=...>]
|
||||
expected: NOTRUN
|
||||
|
||||
[ORB should block opaque response with empty Content-Type and nosniff: <audio src=...>]
|
||||
expected: NOTRUN
|
||||
|
||||
[ORB should block opaque response with empty Content-Type and nosniff: <video src=...>]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
||||
[ORB should block opaque response with empty Content-Type and nosniff: <script src=...>]
|
||||
expected: NOTRUN
|
||||
|
||||
[ORB shouldn't block opaque image with empty Content-Type and nosniff: fetch(..., {mode: "no-cors"})]
|
||||
expected: NOTRUN
|
||||
|
||||
[ORB shouldn't block opaque image with empty Content-Type and nosniff: <img src=...>]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
||||
|
||||
[nosniff.sub.any.worker.html]
|
||||
[ORB should block opaque text/plain with nosniff]
|
||||
expected: FAIL
|
||||
|
||||
[ORB should block opaque-response-blocklisted MIME type with nosniff]
|
||||
expected: FAIL
|
||||
|
||||
[ORB should block opaque response with empty Content-Type and nosniff]
|
||||
expected: FAIL
|
||||
|
||||
[ORB should block opaque text/plain with nosniff: fetch(..., {mode: "no-cors"})]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[status.sub.any.html]
|
||||
expected: TIMEOUT
|
||||
expected: ERROR
|
||||
[ORB should block opaque-response-blocklisted MIME type with status 206]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -9,29 +9,11 @@
|
|||
[ORB should block opaque-response-blocklisted MIME type with status 206: fetch(..., {mode: "no-cors"})]
|
||||
expected: FAIL
|
||||
|
||||
[ORB should block opaque-response-blocklisted MIME type with status 206: <audio src=...>]
|
||||
expected: TIMEOUT
|
||||
|
||||
[ORB should block opaque-response-blocklisted MIME type with status 206: <video src=...>]
|
||||
expected: NOTRUN
|
||||
|
||||
[ORB should block opaque-response-blocklisted MIME type with status 206: <script src=...>]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
||||
[ORB should block opaque response with non-ok status: fetch(..., {mode: "no-cors"})]
|
||||
expected: NOTRUN
|
||||
|
||||
[ORB should block opaque response with non-ok status: <img src=...>]
|
||||
expected: NOTRUN
|
||||
|
||||
[ORB should block opaque response with non-ok status: <audio src=...>]
|
||||
expected: NOTRUN
|
||||
|
||||
[ORB should block opaque response with non-ok status: <video src=...>]
|
||||
expected: NOTRUN
|
||||
|
||||
[ORB should block opaque response with non-ok status: <script src=...>]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
||||
|
||||
[status.sub.any.worker.html]
|
||||
|
|
3
tests/wpt/meta/fetch/range/non-matching-range-response.html.ini
vendored
Normal file
3
tests/wpt/meta/fetch/range/non-matching-range-response.html.ini
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
[non-matching-range-response.html]
|
||||
[Range response out of range of request should succeed]
|
||||
expected: FAIL
|
|
@ -1,4 +1,5 @@
|
|||
[createImageBitmap-colorSpaceConversion.html]
|
||||
expected: ERROR
|
||||
[createImageBitmap from a bitmap HTMLImageElement, and drawImage on the created ImageBitmap with colorSpaceConversion: none]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[createImageBitmap-drawImage.html]
|
||||
expected: TIMEOUT
|
||||
expected: ERROR
|
||||
[createImageBitmap from an OffscreenCanvas resized, and drawImage on the created ImageBitmap]
|
||||
expected: NOTRUN
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[createImageBitmap-invalid-args.html]
|
||||
expected: TIMEOUT
|
||||
expected: ERROR
|
||||
[createImageBitmap with a vector HTMLImageElement source and sw set to 0]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
[audio_loop_base.html]
|
||||
expected: TIMEOUT
|
||||
[Check if audio.loop is set to true that expecting the seeking event is fired more than once]
|
||||
expected: NOTRUN
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
[audio_loop_seek_to_eos.html]
|
||||
[seeking to the end of looping audio]
|
||||
expected: FAIL
|
|
@ -1,7 +1,8 @@
|
|||
[loop-from-ended.tentative.html]
|
||||
expected: TIMEOUT
|
||||
[Test looping edge case to verify http://crbug.com/364442.]
|
||||
expected: FAIL
|
||||
|
||||
[play() with loop set to true after playback ended]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
[track-cue-mutable-fragment.html]
|
||||
expected: TIMEOUT
|
||||
[Cue fragment is mutable]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
[track-mode-not-changed-by-new-track.html]
|
||||
expected: TIMEOUT
|
||||
[A track appended after the initial track configuration does not change other tracks]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue