Bug 240136

Summary: CSP: Fix incorrect blocked-uri for inline scripts and strict-dynamic policies
Product: WebKit Reporter: Patrick Griffis <pgriffis>
Component: WebCore Misc.Assignee: Patrick Griffis <pgriffis>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, ews-watchlist, katherine_cheney, mkwst, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch
none
Patch none

Description Patrick Griffis 2022-05-05 13:16:25 PDT
CSP: Fix incorrect blocked-uri for inline scripts and strict-dynamic policies
Comment 1 Patrick Griffis 2022-05-05 13:16:39 PDT Comment hidden (obsolete)
Comment 2 Patrick Griffis 2022-05-05 13:17:18 PDT Comment hidden (obsolete)
Comment 3 Kate Cheney 2022-05-05 13:23:52 PDT
Comment on attachment 458907 [details]
Patch

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

> LayoutTests/ChangeLog:9
> +        * platform/gtk/http/tests/security/contentSecurityPolicy/script-src-strict-dynamic-inline-report-expected.txt: Added.

Would you be able to add expectations for other platforms as well?
Comment 4 Patrick Griffis 2022-05-05 13:24:27 PDT
Created attachment 458909 [details]
Patch
Comment 5 Patrick Griffis 2022-05-05 13:25:16 PDT
(In reply to Kate Cheney from comment #3)
> Comment on attachment 458907 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=458907&action=review
> 
> > LayoutTests/ChangeLog:9
> > +        * platform/gtk/http/tests/security/contentSecurityPolicy/script-src-strict-dynamic-inline-report-expected.txt: Added.
> 
> Would you be able to add expectations for other platforms as well?

Meant to be for all platforms, fixed.
Comment 6 Kate Cheney 2022-05-05 13:27:50 PDT
Comment on attachment 458909 [details]
Patch

r=me
Comment 7 EWS 2022-05-06 09:41:39 PDT
Committed r293897 (?): <https://commits.webkit.org/r293897>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 458909 [details].
Comment 8 Radar WebKit Bug Importer 2022-05-06 09:42:12 PDT
<rdar://problem/92865327>