Bug 224779

Summary: Preconnect tasks and preflight checks do not correctly mark app-bound context string
Product: WebKit Reporter: Kate Cheney <katherine_cheney>
Component: WebKit Misc.Assignee: Kate Cheney <katherine_cheney>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, cdumez, ews-watchlist, japhet
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch
none
Patch
none
Patch for landing none

Description Kate Cheney 2021-04-19 12:28:43 PDT
Preconnect tasks and preflight checks do not correctly mark app-bound context string in resource requests.
Comment 1 Kate Cheney 2021-04-19 12:31:58 PDT
Created attachment 426461 [details]
Patch
Comment 2 Kate Cheney 2021-04-19 12:32:39 PDT
<rdar://problem/76738879>
Comment 3 Kate Cheney 2021-04-19 17:55:08 PDT
Created attachment 426502 [details]
Patch
Comment 4 Brent Fulgham 2021-04-20 15:40:52 PDT
Comment on attachment 426502 [details]
Patch

r=me
Comment 5 EWS 2021-04-20 16:11:48 PDT
Committed r276326 (236806@main): <https://commits.webkit.org/236806@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 426502 [details].
Comment 6 Chris Dumez 2021-04-20 16:16:02 PDT
Comment on attachment 426502 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=426502&action=review

> Source/WebKit/WebProcess/Network/WebLoaderStrategy.cpp:770
> +        if (!document)

This does not make sense. You already null-checked document above.
Comment 7 Kate Cheney 2021-04-20 16:30:53 PDT
Reopening to attach new patch.
Comment 8 Kate Cheney 2021-04-20 16:30:54 PDT
Created attachment 426613 [details]
Patch
Comment 9 EWS 2021-04-21 08:27:55 PDT
/Volumes/Data/worker/Commit-Queue/build/Source/WebKit/ChangeLog neither lists a valid reviewer nor contains the string "Unreviewed" or "Rubber stamp" (case insensitive).
Comment 10 Chris Dumez 2021-04-21 08:28:46 PDT
Comment on attachment 426613 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=426613&action=review

> Source/WebKit/ChangeLog:7
> +        Remove unnecessary document check.

This comment is missing the "Reviewed By" line or "Unreviewed".
Comment 11 Kate Cheney 2021-04-21 09:10:41 PDT
Created attachment 426696 [details]
Patch for landing
Comment 12 Kate Cheney 2021-04-21 09:11:17 PDT
(In reply to Chris Dumez from comment #10)
> Comment on attachment 426613 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=426613&action=review
> 
> > Source/WebKit/ChangeLog:7
> > +        Remove unnecessary document check.
> 
> This comment is missing the "Reviewed By" line or "Unreviewed".

fixed! Thanks for pointing that out.
Comment 13 EWS 2021-04-21 09:37:18 PDT
Committed r276369 (236847@main): <https://commits.webkit.org/236847@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 426696 [details].