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

Unified Diff: LayoutTests/http/tests/htmlimports/csp-in-imports.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/csp-in-imports.html
diff --git a/LayoutTests/http/tests/htmlimports/csp-in-imports.html b/LayoutTests/http/tests/htmlimports/csp-in-imports.html
index 4b943dc637ab4c7a4d1ab6b2843cb1a195c0001d..7e8b91c8ea315b3ba480836733bc25fab280f81e 100644
--- a/LayoutTests/http/tests/htmlimports/csp-in-imports.html
+++ b/LayoutTests/http/tests/htmlimports/csp-in-imports.html
@@ -10,15 +10,15 @@
if (window.testRunner)
testRunner.dumpAsText();
-if (window.havingDirectiveInMeta.import.querySelector("#shouldBeBlocked").import == null)
+if (window.havingDirectiveInMeta.import.querySelector("#shouldBeBlocked").import != null)
result.innerHTML += "PASS\n";
else
- result.innerHTML += "FAIL: The import should be blocked.\n";
+ result.innerHTML += "FAIL: The import should not be blocked.\n";
-if (window.havingDirectiveInHTTP.import.querySelector("#shouldBeBlocked").import == null)
+if (window.havingDirectiveInHTTP.import.querySelector("#shouldBeBlocked").import != null)
result.innerHTML += "PASS\n";
else
- result.innerHTML += "FAIL: The import should be blocked.\n";
+ result.innerHTML += "FAIL: The import should not be blocked.\n";
</script>
</body>

Powered by Google App Engine
This is Rietveld 408576698