Bug 254385 - [MSE] media/media-source/media-source-fudge-factor.html times out
Summary: [MSE] media/media-source/media-source-fudge-factor.html times out
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Jean-Yves Avenard [:jya]
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-03-23 17:50 PDT by Jean-Yves Avenard [:jya]
Modified: 2023-03-24 06:23 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jean-Yves Avenard [:jya] 2023-03-23 17:50:27 PDT
The test is invalid, it assumes that the `SourceBuffer.updating` attribute will be false when `loadedmetadata` is fired.

This assumption would be okay in WK1 or if the SourceBufferPrivate runs in the content process as all is done synchronously in this case.

But should this test run in the GPU Process, that assumption will always be incorrect and calling SourceBuffer.append() while `SourceBuffer.updating == true` will throw
Comment 1 Radar WebKit Bug Importer 2023-03-23 17:51:02 PDT
<rdar://problem/107162814>
Comment 2 Jean-Yves Avenard [:jya] 2023-03-23 18:00:26 PDT
Pull request: https://github.com/WebKit/WebKit/pull/11898
Comment 3 EWS 2023-03-24 06:23:34 PDT
Committed 262069@main (99cbb993489c): <https://commits.webkit.org/262069@main>

Reviewed commits have been landed. Closing PR #11898 and removing active labels.