Summary: | Fix App Privacy Report redirect attribution | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Kate Cheney <katherine_cheney> | ||||||
Component: | New Bugs | Assignee: | Kate Cheney <katherine_cheney> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | bfulgham, sam, webkit-bug-importer | ||||||
Priority: | P2 | Keywords: | InRadar | ||||||
Version: | WebKit Nightly Build | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Bug Depends on: | |||||||||
Bug Blocks: | 238159 | ||||||||
Attachments: |
|
Description
Kate Cheney
2022-02-03 17:18:41 PST
Created attachment 450841 [details]
Patch
Comment on attachment 450841 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=450841&action=review > Source/WebKit/ChangeLog:4 > + Need a short description (OOPS!). > + Need the bug URL (OOPS!). Looks like you forgot to fill this in. > LayoutTests/ChangeLog:4 > + Need a short description (OOPS!). > + Need the bug URL (OOPS!). Same here. Comment on attachment 450841 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=450841&action=review And a test! I think this looks great, once you correct the ChangeLog. Thank you for jumping on this so quickly! > Source/WebCore/platform/network/cf/ResourceRequestCFNet.cpp:372 > auto oldInspectorInitiatorNodeIdentifier = inspectorInitiatorNodeIdentifier(); I think this is right, but I also suggest we clean up the constructors for CFNet and NSURLRequest.it may not fix anything, but I believe it is bad to ever have our WebKit flag out of sync with the NSURLRequest item. > Source/WebKit/NetworkProcess/cocoa/NetworkSessionCocoa.mm:-624 > -#endif Wry nice to simplify this! Created attachment 450902 [details]
Patch for landing
(In reply to Sam Weinig from comment #2) > Comment on attachment 450841 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=450841&action=review > > > Source/WebKit/ChangeLog:4 > > + Need a short description (OOPS!). > > + Need the bug URL (OOPS!). > > Looks like you forgot to fill this in. > > > LayoutTests/ChangeLog:4 > > + Need a short description (OOPS!). > > + Need the bug URL (OOPS!). > > Same here. Fixed! Thanks. (In reply to Brent Fulgham from comment #3) > Comment on attachment 450841 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=450841&action=review > > And a test! I think this looks great, once you correct the ChangeLog. Thank > you for jumping on this so quickly! > > > Source/WebCore/platform/network/cf/ResourceRequestCFNet.cpp:372 > > auto oldInspectorInitiatorNodeIdentifier = inspectorInitiatorNodeIdentifier(); > > I think this is right, but I also suggest we clean up the constructors for > CFNet and NSURLRequest.it may not fix anything, but I believe it is bad to > ever have our WebKit flag out of sync with the NSURLRequest item. > Yeah, agreed. I filed rdar://88490742 for this. > > Source/WebKit/NetworkProcess/cocoa/NetworkSessionCocoa.mm:-624 > > -#endif > > Wry nice to simplify this! Committed r289121 (246818@main): <https://commits.webkit.org/246818@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 450902 [details]. |