RESOLVED FIXED 225613
Speculative revalidation requests not properly attributed as app-bound
https://bugs.webkit.org/show_bug.cgi?id=225613
Summary Speculative revalidation requests not properly attributed as app-bound
Kate Cheney
Reported 2021-05-10 14:28:41 PDT
We should attribute app-bound status to speculative revalidation requests.
Attachments
Patch (14.80 KB, patch)
2021-05-10 14:56 PDT, Kate Cheney
no flags
Patch for landing (14.86 KB, patch)
2021-05-10 16:19 PDT, Kate Cheney
no flags
Kate Cheney
Comment 1 2021-05-10 14:29:17 PDT
Kate Cheney
Comment 2 2021-05-10 14:56:55 PDT
Kate Cheney
Comment 3 2021-05-10 14:58:03 PDT
The test for this technically relies on infrastructure added in https://bugs.webkit.org/show_bug.cgi?id=225596 (in review) but since they are skipped for open source builds this won't affect EWS.
Brent Fulgham
Comment 4 2021-05-10 15:31:49 PDT
Comment on attachment 428206 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=428206&action=review > Source/WebKit/NetworkProcess/cache/NetworkCacheSpeculativeLoadManager.cpp:96 > + revalidationRequest.setIsAppBound(subResourceInfo.isAppBound()); I suggest we bundle these various "copy request state to new request" into some common function somewhere (not for this patch though). > LayoutTests/platform/ios-wk2/TestExpectations:1794 > +http/tests/in-app-browser-privacy/app-bound-attribution-speculative-revalidation.html [ Skip ] Why do we need to skip on iOS? Is this because of missing test features, or does the test just not work on iOS?
Brent Fulgham
Comment 5 2021-05-10 15:36:26 PDT
Comment on attachment 428206 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=428206&action=review r=me >> LayoutTests/platform/ios-wk2/TestExpectations:1794 >> +http/tests/in-app-browser-privacy/app-bound-attribution-speculative-revalidation.html [ Skip ] > > Why do we need to skip on iOS? Is this because of missing test features, or does the test just not work on iOS? I spoke with Kate about this offline. It's skipped in iOS on Open Source. So this is fine (and will be unskilled in future).
Kate Cheney
Comment 6 2021-05-10 16:19:34 PDT
Created attachment 428217 [details] Patch for landing
EWS
Comment 7 2021-05-10 16:52:46 PDT
Committed r277306 (237567@main): <https://commits.webkit.org/237567@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 428217 [details].
Note You need to log in before you can comment on or make changes to this bug.