WebsiteDataStore::getAllStorageAccessEntries() needs to know which page is calling it and get the storage access entries from the associated network process.
<rdar://problem/41745510>
Created attachment 344143 [details] Patch
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.
Created attachment 344195 [details] Patch for landing
Thanks, Chris! I took action on all your comments.
Comment on attachment 344195 [details] Patch for landing Clearing flags on attachment: 344195 Committed r233468: <https://trac.webkit.org/changeset/233468>
All reviewed patches have been landed. Closing bug.