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

Side by Side Diff: LayoutTests/http/tests/htmlimports/csp-import-block-but-self-expected.txt

Issue 183883004: Let ContentSecurityPolicy shared between imports and the master. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Adding guardRef()/guardDeref() Created 6 years, 9 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 PASS document.inlineScriptHasRun is undefined 1 CONSOLE ERROR: Refused to load the script 'http://localhost:8000//htmlimports/re sources/cors-js.cgi' because it violates the following Content Security Policy d irective: "script-src 'self'".
2 PASS document.externalScriptHasRun is true
3 PASS document.corsExternalScriptHasRun is undefined
4 PASS document.evalFromInlineHasRun is undefined
5 FAIL document.evalFromExternalHasRun should be undefined (of type undefined). Wa s true (of type boolean).
6 PASS document.evalFromCorsExternalHasRun is undefined
7 PASS successfullyParsed is true
8 2
9 TEST COMPLETE 3 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 'self'".
10 4
5 CONSOLE ERROR: line 2: 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 'self'".
6
7 CONSOLE ERROR: Refused to load the script 'http://localhost:8000//htmlimports/re sources/cors-js.cgi' because it violates the following Content Security Policy d irective: "script-src 'self'".
8
9 CONSOLE ERROR: line 6: Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'self'". Either the 'un safe-inline' keyword, a hash ('sha256-...'), or a nonce ('nonce-...') is require d to enable inline execution.
10
11 CONSOLE MESSAGE: line 4: PASS
12 CONSOLE MESSAGE: line 4: PASS
13 CONSOLE MESSAGE: line 4: PASS
14 CONSOLE MESSAGE: line 4: PASS
15 CONSOLE MESSAGE: line 4: PASS
16 CONSOLE MESSAGE: line 4: PASS
17
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698