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

Unified Diff: LayoutTests/http/tests/htmlimports/csp-import-block-but-self-nested-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, 10 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/http/tests/htmlimports/csp-import-block-but-self-nested-expected.txt
diff --git a/LayoutTests/http/tests/htmlimports/csp-import-block-but-self-nested-expected.txt b/LayoutTests/http/tests/htmlimports/csp-import-block-but-self-nested-expected.txt
index cb58df114b4916d1db15e1bb6b3da24cdaa1147b..77ccd5091cabe8a54104fed141ef0e333dae43cf 100644
--- a/LayoutTests/http/tests/htmlimports/csp-import-block-but-self-nested-expected.txt
+++ b/LayoutTests/http/tests/htmlimports/csp-import-block-but-self-nested-expected.txt
@@ -1,10 +1,17 @@
-PASS document.inlineScriptHasRun is undefined
-PASS document.externalScriptHasRun is true
-PASS document.corsExternalScriptHasRun is undefined
-PASS document.evalFromInlineHasRun is undefined
-FAIL document.evalFromExternalHasRun should be undefined (of type undefined). Was true (of type boolean).
-PASS document.evalFromCorsExternalHasRun is undefined
-PASS successfullyParsed is true
-
-TEST COMPLETE
+CONSOLE ERROR: Refused to load the script 'http://localhost:8000//htmlimports/resources/cors-js.cgi' because it violates the following Content Security Policy directive: "script-src 'self'".
+
+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 directive: "script-src 'self'".
+
+CONSOLE ERROR: line 2: Uncaught EvalError: Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: "script-src 'self'".
+
+CONSOLE ERROR: Refused to load the script 'http://localhost:8000//htmlimports/resources/cors-js.cgi' because it violates the following Content Security Policy directive: "script-src 'self'".
+
+CONSOLE ERROR: line 6: Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-...'), or a nonce ('nonce-...') is required to enable inline execution.
+
+CONSOLE MESSAGE: line 4: PASS
+CONSOLE MESSAGE: line 4: PASS
+CONSOLE MESSAGE: line 4: PASS
+CONSOLE MESSAGE: line 4: PASS
+CONSOLE MESSAGE: line 4: PASS
+CONSOLE MESSAGE: line 4: PASS

Powered by Google App Engine
This is Rietveld 408576698