WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
310775
Unnecessary AVStreamDataParser allocation when querying if a mime type is supported.
https://bugs.webkit.org/show_bug.cgi?id=310775
Summary
Unnecessary AVStreamDataParser allocation when querying if a mime type is sup...
Jean-Yves Avenard [:jya]
Reported
2026-03-25 23:05:42 PDT
For historical reason, to check MSE support we always call allocAVStreamDataParserInstance and init. On iPhone this used to return `nil` as this SPI was disabled on iPhone but enabled on iPad and to differentiate the `init` method returned a difference value. This is no longer true on any of our currently supported platforms. It can be removed. In the CPLT tests it accounts for a 75ms total overhead.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2026-03-25 23:05:49 PDT
<
rdar://problem/173383289
>
Jean-Yves Avenard [:jya]
Comment 2
2026-03-25 23:26:00 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/61382
EWS
Comment 3
2026-03-26 01:41:27 PDT
Committed
309970@main
(1e3921ec8629): <
https://commits.webkit.org/309970@main
> Reviewed commits have been landed. Closing PR #61382 and removing active labels.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug