WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
146279
CSP error message when frame load is blocked does not read well
https://bugs.webkit.org/show_bug.cgi?id=146279
Summary
CSP error message when frame load is blocked does not read well
Daniel Bates
Reported
2015-06-24 08:25:22 PDT
When the Content Security Policy (CSP) blocks a frame load it emits an error message to the Web Inspector console that has the form: Refused to frame '
http://127.0.0.1:8000/security/contentSecurityPolicy/resources/alert-fail.html
' because it violates the following Content Security Policy directive: "frame-src 'none'" This error message does not read well. In particular, the phrase "Refused to frame" does not read well. We should make this error message read well so that it is clear that the CSP policy of the page blocked a frame load.
Attachments
Patch
(4.29 KB, patch)
2015-06-24 08:30 PDT
,
Daniel Bates
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Daniel Bates
Comment 1
2015-06-24 08:30:18 PDT
Created
attachment 255482
[details]
Patch
Csaba Osztrogonác
Comment 2
2015-06-24 08:43:22 PDT
Comment on
attachment 255482
[details]
Patch Nice catch, r=me.
Daniel Bates
Comment 3
2015-06-24 08:55:10 PDT
Comment on
attachment 255482
[details]
Patch Clearing flags on attachment: 255482 Committed
r185912
: <
http://trac.webkit.org/changeset/185912
>
Daniel Bates
Comment 4
2015-06-24 08:55:13 PDT
All reviewed patches have been landed. Closing bug.
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