Bug 224775
Summary: | Move application foreground/background notifications to WebProcess/Pool from WebPage/Proxy | ||
---|---|---|---|
Product: | WebKit | Reporter: | Jer Noble <jer.noble> |
Component: | Media | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Normal | CC: | webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | iOS 14 |
Jer Noble
Currently, application foreground/background notifications are listened for in WKContentView, and forwarded to WebPage via WebPageProxy. But because WebPage will just re-broadcast the notification within the WebContent process, this will lead to multiple notifications (and wasted work) being done if there are multiple Pages in the same WebContent process. This code should be moved to a singleton class (WebProcessPool would be a natural choice) and broadcasted only once per specific WebProcess instance.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/77169224>