Bug 224308

Summary: Site could crash if MediaRemote framework isn't available.
Product: WebKit Reporter: Jean-Yves Avenard [:jya] <jean-yves.avenard>
Component: MediaAssignee: Jean-Yves Avenard [:jya] <jean-yves.avenard>
Status: RESOLVED FIXED    
Severity: Normal CC: eric.carlson, ews-watchlist, glenn, jer.noble, philipj, sergio, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch none

Description Jean-Yves Avenard [:jya] 2021-04-07 15:14:03 PDT
In some configuration where the MediaRemote framework isn't available (like BaseOS); a site using MediaSession could cause a crash.
Comment 1 Jean-Yves Avenard [:jya] 2021-04-07 16:04:40 PDT
<rdar://76273591>
Comment 2 Jean-Yves Avenard [:jya] 2021-04-07 16:42:28 PDT
Created attachment 425453 [details]
Patch
Comment 3 EWS 2021-04-07 18:55:16 PDT
commit-queue failed to commit attachment 425453 [details] to WebKit repository. To retry, please set cq+ flag again.
Comment 4 Jean-Yves Avenard [:jya] 2021-04-07 20:28:38 PDT
Created attachment 425472 [details]
Patch
Comment 5 EWS 2021-04-07 21:21:24 PDT
Committed r275651: <https://commits.webkit.org/r275651>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 425472 [details].