Bug 196407

Summary: Move WebResourceLoadStatisticsStore IPC calls from the UI process to the network process
Product: WebKit Reporter: John Wilander <wilander>
Component: WebKit Misc.Assignee: John Wilander <wilander>
Status: RESOLVED FIXED    
Severity: Normal CC: achristensen, bfulgham, cdumez, commit-queue, satoshioono8
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 200225    
Bug Blocks:    
Attachments:
Description Flags
Patch none

John Wilander
Reported 2019-03-29 15:01:43 PDT
As part of the move of ITP from the UI process to the network process, the two WebResourceLoadStatisticsStore IPC endpoints were left behind. One of them is the message RequestStorageAccessUnderOpener which underpins the compatibility fix for federated logins using popups. We should redirect these IPC calls to the network process.
Attachments
Patch (48.98 KB, patch)
2019-03-29 15:15 PDT, John Wilander
no flags
John Wilander
Comment 1 2019-03-29 15:02:01 PDT
John Wilander
Comment 2 2019-03-29 15:15:39 PDT
Brent Fulgham
Comment 3 2019-03-29 16:05:28 PDT
Comment on attachment 366311 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=366311&action=review r=me > Source/WebKit/NetworkProcess/Classifier/WebResourceLoadStatisticsStore.h:-192 > - void requestStorageAccessUnderOpener(DomainInNeedOfStorageAccess&&, uint64_t openerPageID, OpenerDomain&&); This looks like a nice bug fix and simplification!
John Wilander
Comment 4 2019-03-29 16:14:42 PDT
Thanks, Brent! I'll wait for some more green bubbles and then land.
John Wilander
Comment 5 2019-03-29 17:42:13 PDT
Comment on attachment 366311 [details] Patch The ios-sim bot is in bad shape with thousands of tests failing in various ways. Landing.
WebKit Commit Bot
Comment 6 2019-03-29 18:09:18 PDT
Comment on attachment 366311 [details] Patch Clearing flags on attachment: 366311 Committed r243671: <https://trac.webkit.org/changeset/243671>
WebKit Commit Bot
Comment 7 2019-03-29 18:09:19 PDT
All reviewed patches have been landed. Closing bug.
Chris Dumez
Comment 8 2019-07-29 08:28:54 PDT
Comment on attachment 366311 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=366311&action=review > Source/WebKit/NetworkProcess/NetworkConnectionToWebProcess.cpp:663 > + resourceLoadStatistics->resourceLoadStatisticsUpdated(WTFMove(statistics)); WTFMove() since a for loop, ouch :/ https://bugs.webkit.org/show_bug.cgi?id=200225
Brent Fulgham
Comment 9 2022-02-12 21:18:16 PST
*** Bug 196318 has been marked as a duplicate of this bug. ***
Note You need to log in before you can comment on or make changes to this bug.