WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
187277
Resource Load Statistics: Make WebsiteDataStore::getAllStorageAccessEntries() call the right network process instead of iterating over the process pools
https://bugs.webkit.org/show_bug.cgi?id=187277
Summary
Resource Load Statistics: Make WebsiteDataStore::getAllStorageAccessEntries()...
John Wilander
Reported
2018-07-02 15:59:48 PDT
WebsiteDataStore::getAllStorageAccessEntries() needs to know which page is calling it and get the storage access entries from the associated network process.
Attachments
Patch
(10.04 KB, patch)
2018-07-02 16:15 PDT
,
John Wilander
no flags
Details
Formatted Diff
Diff
Patch for landing
(9.35 KB, patch)
2018-07-03 10:46 PDT
,
John Wilander
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2018-07-02 16:00:14 PDT
<
rdar://problem/41745510
>
John Wilander
Comment 2
2018-07-02 16:15:49 PDT
Created
attachment 344143
[details]
Patch
Chris Dumez
Comment 3
2018-07-03 09:08:56 PDT
Comment on
attachment 344143
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=344143&action=review
r=me
> Source/WebKit/UIProcess/API/Cocoa/WKWebsiteDataStore.mm:350 > + if (webView) {
This should be an early return instead.
> Source/WebKit/UIProcess/API/Cocoa/WKWebsiteDataStore.mm:352 > + if (webPageProxy) {
This should be an early return instead.
> Source/WebKit/UIProcess/API/Cocoa/WKWebsiteDataStorePrivate.h:26 > +#import <WebKit/WKWebView.h>
Can this be forward-declared below like so? @class WKWebView;
> Tools/WebKitTestRunner/cocoa/TestControllerCocoa.mm:269 > + if (auto* parentView = mainWebView()) {
Should be an early return.
John Wilander
Comment 4
2018-07-03 10:46:32 PDT
Created
attachment 344195
[details]
Patch for landing
John Wilander
Comment 5
2018-07-03 10:47:47 PDT
Thanks, Chris! I took action on all your comments.
WebKit Commit Bot
Comment 6
2018-07-03 11:25:42 PDT
Comment on
attachment 344195
[details]
Patch for landing Clearing flags on attachment: 344195 Committed
r233468
: <
https://trac.webkit.org/changeset/233468
>
WebKit Commit Bot
Comment 7
2018-07-03 11:25:44 PDT
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug