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

Side by Side Diff: LayoutTests/http/tests/security/contentSecurityPolicy/eval-allowed-in-report-only-mode-expected.txt

Issue 19787002: CSP: 'eval()' blocked in report-only mode should send a violation report. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase. Created 7 years, 4 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 MESSAGE: The Content Security Policy 'script-src 'self'' was delivered i n report-only mode, but does not specify a 'report-uri'; the policy will have no effect. Please either add a 'report-uri' directive, or deliver the policy via t he 'Content-Security-Policy' header. 1 CONSOLE MESSAGE: The Content Security Policy 'script-src 'self' 'unsafe-inline'' was delivered in report-only mode, but does not specify a 'report-uri'; the pol icy will have no effect. Please either add a 'report-uri' directive, or deliver the policy via the 'Content-Security-Policy' header.
2 CONSOLE MESSAGE: line 7: [Report Only] Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'self'" . 2 CONSOLE MESSAGE: [Report Only] Refused to evaluate a string as JavaScript becaus e 'unsafe-eval' is not an allowed source of script in the following Content Secu rity Policy directive: "script-src 'self' 'unsafe-inline'".
3 3
4 ALERT: PASS: eval() executed as expected. 4 ALERT: PASS: eval() executed as expected.
5 5
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698