[Webkit-unassigned] [Bug 198692] New: [iOS] ResourceLoadStatistics state is not properly relayed to the NetworkProcess

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Jun 8 14:01:49 PDT 2019


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

            Bug ID: 198692
           Summary: [iOS] ResourceLoadStatistics state is not properly
                    relayed to the NetworkProcess
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit2
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: bfulgham at webkit.org

When I moved the ResourceLoadStatistics logic to the NetworkProcess, I did not realize that the iOS process startup does not have a WebsiteDataStore attached until much later in the launch cycle. Because of this, we do not pass the ITP state to the NetworkProcess at launch (as part of its configuration parameters), and when we attempt to message the state to the NetworkProcess during startup we do so at a moment when we have not associated the WebProcessPool with the WebsiteDataStore object that knows about ITP status.

Furthermore, I failed to notice that the method to activate ITP only messages the WebContent processes, not the NetworkProcess. This had not been needed before I moved the logic to the NetworkProcess, and was an oversight.

This patch updates WebProcessPool::setResourceLoadStatisticsEnabled so that the process pool tells the NetworkProcess when the ITP state changes.

-- 
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/20190608/ad13b362/attachment.html>


More information about the webkit-unassigned mailing list