[Webkit-unassigned] [Bug 224775] New: Move application foreground/background notifications to WebProcess/Pool from WebPage/Proxy

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 19 12:04:53 PDT 2021


https://bugs.webkit.org/show_bug.cgi?id=224775

            Bug ID: 224775
           Summary: Move application foreground/background notifications
                    to WebProcess/Pool from WebPage/Proxy
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: iOS 14
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Media
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: jer.noble at apple.com

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210419/9017a321/attachment.htm>


More information about the webkit-unassigned mailing list