Bug 226058 - Separately handle NowPlayingInfo metadata from artwork
Summary: Separately handle NowPlayingInfo metadata from artwork
Status: NEW
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: 2021-05-20 17:26 PDT by Jean-Yves Avenard [:jya]
Modified: 2021-05-27 17:26 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] 2021-05-20 17:26:02 PDT
Currently the NowPlayingInfo content is being sent between the web process and the GPU process.
In order to avoid sending the same image multiple times; NowPlayingInfo's artwork imageData will be set to nullptr to flag that a cache version should be used.

This code is confusing and prone to errors as shown with bug 225999.

We should instead split the IPC message setting the NowPlayingInfo into two messages , one that set the metadata and one that send the artwork
Comment 1 Radar WebKit Bug Importer 2021-05-27 17:26:19 PDT
<rdar://problem/78596013>