mirror of
https://github.com/servo/servo.git
synced 2025-09-30 16:49:16 +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,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]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue