WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED CONFIGURATION CHANGED
182285
Resources are still loaded when blocked by CSP
https://bugs.webkit.org/show_bug.cgi?id=182285
Summary
Resources are still loaded when blocked by CSP
Scott Helme
Reported
2018-01-30 04:14:34 PST
Created
attachment 332647
[details]
Console showing CSP and 404 error. I have a CSP on this page:
https://scotthelme.co.uk/csp-test/
The page is supposed to blocked the loading of the script file which it does and puts the appropriate CSP error in the console. The problem is that it still seems to request the file and throws a 404 error for the asset. This request should not be made as it places the browser in violation of the CSP.
Attachments
Console showing CSP and 404 error.
(163.70 KB, image/png)
2018-01-30 04:14 PST
,
Scott Helme
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2018-01-31 09:37:18 PST
<
rdar://problem/37073699
>
Brent Fulgham
Comment 2
2022-02-08 12:13:26 PST
We believe this is now functioning correctly. Please let us know if you are still experiencing any issues.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug