Index: LayoutTests/http/tests/htmlimports/csp-not-block-import-in-import.html |
diff --git a/LayoutTests/http/tests/htmlimports/csp-not-block-import-in-import.html b/LayoutTests/http/tests/htmlimports/csp-not-block-import-in-import.html |
index 9851e6365e02487c987c7acd4830043141afce0c..6c88fa96184c3d6046bfaf25372a7aba6438fd53 100644 |
--- a/LayoutTests/http/tests/htmlimports/csp-not-block-import-in-import.html |
+++ b/LayoutTests/http/tests/htmlimports/csp-not-block-import-in-import.html |
@@ -6,14 +6,15 @@ |
</head> |
<body> |
<pre id="result"></pre> |
+<!-- FIXME: The test should be renamed to csp-block-import-in-import.html --> |
<script> |
if (window.testRunner) |
testRunner.dumpAsText(); |
-if (window.target.import.querySelector('#cors').import != null) |
+if (window.target.import.querySelector('#cors').import == null) |
result.innerHTML = "PASS\n"; |
else |
- result.innerHTML = "FAIL: The import should be allowed.\n"; |
+ result.innerHTML = "FAIL: The import should be blocked.\n"; |
</script> |
</body> |
</html> |