Bug 224779 - Preconnect tasks and preflight checks do not correctly mark app-bound context string
Summary: Preconnect tasks and preflight checks do not correctly mark app-bound context...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Kate Cheney
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-04-19 12:28 PDT by Kate Cheney
Modified: 2021-04-21 09:37 PDT (History)
4 users (show)

See Also:


Attachments
Patch (18.28 KB, patch)
2021-04-19 12:31 PDT, Kate Cheney
no flags Details | Formatted Diff | Diff
Patch (19.03 KB, patch)
2021-04-19 17:55 PDT, Kate Cheney
no flags Details | Formatted Diff | Diff
Patch (1.72 KB, patch)
2021-04-20 16:30 PDT, Kate Cheney
no flags Details | Formatted Diff | Diff
Patch for landing (1.70 KB, patch)
2021-04-21 09:10 PDT, Kate Cheney
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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].