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:
Josh Matthews 2024-07-09 02:48:44 -04:00 committed by GitHub
parent f29dd64a7b
commit 72e6a1f007
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
16 changed files with 80 additions and 203 deletions

View file

@ -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