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

Unified Diff: LayoutTests/http/tests/htmlimports/resources/having-domain-policy.html

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/resources/having-domain-policy.html
diff --git a/LayoutTests/http/tests/htmlimports/resources/having-domain-policy.html b/LayoutTests/http/tests/htmlimports/resources/having-domain-policy.html
index d054dfe858638d823d9684300bd266aaf19b2a46..0e601863bcfc141cb3cd5d7cdd155cce69409cff 100644
--- a/LayoutTests/http/tests/htmlimports/resources/having-domain-policy.html
+++ b/LayoutTests/http/tests/htmlimports/resources/having-domain-policy.html
@@ -1,9 +1,8 @@
<!DOCTYPE html>
<html>
<head>
-<meta http-equiv="Content-Security-Policy" content="script-src http://localhost:8000">
-<script src="external-script.js"></script>
-<script src="http://localhost:8000//htmlimports/resources/cors-js.cgi"></script>
+<script src="http://127.0.0.1:8000/htmlimports/resources/external-script.js"></script>
+<script src="http://localhost:8000/htmlimports/resources/cors-js.cgi"></script>
<script>
document.inlineScriptHasRun = true;
eval("document.evalFromInlineHasRun = true;");

Powered by Google App Engine
This is Rietveld 408576698