NEW230970
MediaSource SourceBuffer never fires any event beyond updatestart
https://bugs.webkit.org/show_bug.cgi?id=230970
Summary MediaSource SourceBuffer never fires any event beyond updatestart
Sam Sneddon [:gsnedders]
Reported 2021-09-29 10:49:23 PDT
Created attachment 439627 [details] testcase (but needs file from WPT) Loading the attached test over HTTPS from the web-platform-test server/directory gives: Resource fetch success [object MediaSource]: sourceopen [object SourceBuffer]: updatestart This isn't an acceptable output, as far as I can tell; there should always be an updateend event (and either an update or error event between them). This is causing a fair few WPT tests to timeout in Safari, so this would be good to improve.
Attachments
testcase (but needs file from WPT) (1.44 KB, text/html)
2021-09-29 10:49 PDT, Sam Sneddon [:gsnedders]
no flags
Radar WebKit Bug Importer
Comment 1 2021-09-29 10:49:33 PDT
Jer Noble
Comment 2 2021-09-29 11:02:12 PDT
This is (currently) expected behavior. The file in question is encrypted, and the parser is stalled waiting for the page to handle the generated "encrypted" event. I suspect that the stalling WPT tests in question are EME tests, and there is no EME test support for FairPlay encryption, which is the only CDM Cocoa-ports support.
Note You need to log in before you can comment on or make changes to this bug.