Index: LayoutTests/http/tests/htmlimports/csp-import-block-but-self.html |
diff --git a/LayoutTests/http/tests/htmlimports/csp-import-block-but-self.html b/LayoutTests/http/tests/htmlimports/csp-import-block-but-self.html |
index 4e8fbabcb8e063d26271ca127563eb23ee9c910b..67f77ec03d411ce87962eeffa59301537d0e8e32 100644 |
--- a/LayoutTests/http/tests/htmlimports/csp-import-block-but-self.html |
+++ b/LayoutTests/http/tests/htmlimports/csp-import-block-but-self.html |
@@ -1,19 +1,10 @@ |
<!DOCTYPE html> |
<html> |
<head> |
-<script> |
-</script> |
+<meta http-equiv="Content-Security-Policy" content="script-src 'self'"> |
<link id="target" rel="import" href="resources/having-self-policy.html"> |
-<script src="/js-test-resources/js-test.js"></script> |
</head> |
<body> |
-<script> |
-shouldBe("document.inlineScriptHasRun", "undefined"); |
-shouldBeTrue("document.externalScriptHasRun"); |
-shouldBe("document.corsExternalScriptHasRun", "undefined"); |
-shouldBe("document.evalFromInlineHasRun", "undefined"); |
-shouldBe("document.evalFromExternalHasRun", "undefined"); |
-shouldBe("document.evalFromCorsExternalHasRun", "undefined"); |
-</script> |
+<script src="resources/csp-import-block-but-self.js"></script> |
</body> |
</html> |