Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(45)

Side by Side Diff: LayoutTests/http/tests/security/contentSecurityPolicy/inline-script-blocked-javascript-url-expected.txt

Issue 137233005: CSP: Improve blocked inline script error message. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Yay. Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 CONSOLE ERROR: line 4: The 'options' directive has been replaced with 'unsafe-in line' and 'unsafe-eval' source expressions for the 'script-src' and 'style-src' directives. Please use those directives instead, as 'options' has no effect. 1 CONSOLE ERROR: line 4: The 'options' directive has been replaced with 'unsafe-in line' and 'unsafe-eval' source expressions for the 'script-src' and 'style-src' directives. Please use those directives instead, as 'options' has no effect.
2 CONSOLE ERROR: The 'options' directive has been replaced with 'unsafe-inline' an d 'unsafe-eval' source expressions for the 'script-src' and 'style-src' directiv es. Please use those directives instead, as 'options' has no effect. 2 CONSOLE ERROR: The 'options' directive has been replaced with 'unsafe-inline' an d 'unsafe-eval' source expressions for the 'script-src' and 'style-src' directiv es. Please use those directives instead, as 'options' has no effect.
3 CONSOLE ERROR: The 'options' directive has been replaced with 'unsafe-inline' an d 'unsafe-eval' source expressions for the 'script-src' and 'style-src' directiv es. Please use those directives instead, as 'options' has no effect. 3 CONSOLE ERROR: The 'options' directive has been replaced with 'unsafe-inline' an d 'unsafe-eval' source expressions for the 'script-src' and 'style-src' directiv es. Please use those directives instead, as 'options' has no effect.
4 CONSOLE ERROR: line 1: Refused to execute JavaScript URL because it violates the following Content Security Policy directive: "script-src http://127.0.0.1:*". 4 CONSOLE ERROR: line 1: Refused to execute JavaScript URL because it violates the following Content Security Policy directive: "script-src http://127.0.0.1:*". E ither the 'unsafe-inline' keyword, a hash ('sha256-...'), or a nonce ('nonce-... ') is required to enable inline execution.
5 5
6 This test passes if it doesn't alert fail. 6 This test passes if it doesn't alert fail.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698