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

Side by Side Diff: LayoutTests/http/tests/security/contentSecurityPolicy/eval-blocked-in-about-blank-iframe-expected.txt

Issue 26770004: Add console message levels to test expectation output. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Tests. Created 7 years, 2 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 ALERT: /PASS/ 1 ALERT: /PASS/
2 CONSOLE MESSAGE: Refused to evaluate a string as JavaScript because 'unsafe-eval ' is not an allowed source of script in the following Content Security Policy di rective: "script-src 'unsafe-inline'". 2 CONSOLE ERROR: Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy dire ctive: "script-src 'unsafe-inline'".
3 3
4 CONSOLE MESSAGE: line 1: Uncaught EvalError: Refused to evaluate a string as Jav aScript because 'unsafe-eval' is not an allowed source of script in the followin g Content Security Policy directive: "script-src 'unsafe-inline'". 4 CONSOLE ERROR: line 1: Uncaught EvalError: Refused to evaluate a string as JavaS cript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: "script-src 'unsafe-inline'".
5 5
6 Eval should be blocked in the iframe, but inline script should be allowed. 6 Eval should be blocked in the iframe, but inline script should be allowed.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698