Index: LayoutTests/http/tests/htmlimports/import-script-nosniff.html |
diff --git a/LayoutTests/http/tests/htmlimports/cross-origin.html b/LayoutTests/http/tests/htmlimports/import-script-nosniff.html |
similarity index 57% |
copy from LayoutTests/http/tests/htmlimports/cross-origin.html |
copy to LayoutTests/http/tests/htmlimports/import-script-nosniff.html |
index 7a5a496b65499016d530e150a891e64f240255a6..d9a39ec65be3ed9b11c2351cabe29174754ed55b 100644 |
--- a/LayoutTests/http/tests/htmlimports/cross-origin.html |
+++ b/LayoutTests/http/tests/htmlimports/import-script-nosniff.html |
@@ -1,12 +1,13 @@ |
<!DOCTYPE html> |
<html> |
<head> |
-<link id="target" rel="import" href="http://localhost:8080/htmlimports/resources/hello.html"> |
+<link id="target" rel="import" href="resources/having-sniffing-script.html"> |
<script src="/js-test-resources/js-test-pre.js"></script> |
</head> |
<body> |
+<pre id="result"></pre> |
<script> |
-shouldBeNull("target.import"); |
+shouldBe("document.sniffing", "undefined"); |
</script> |
<script src="/js-test-resources/js-test-post.js"></script> |
</body> |