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 54% |
copy from LayoutTests/http/tests/htmlimports/cross-origin.html |
copy to LayoutTests/http/tests/htmlimports/import-script-nosniff.html |
index 7a5a496b65499016d530e150a891e64f240255a6..2fbfa004856d69a82b55441da5dc2c26fe13b0f8 100644 |
--- a/LayoutTests/http/tests/htmlimports/cross-origin.html |
+++ b/LayoutTests/http/tests/htmlimports/import-script-nosniff.html |
@@ -1,12 +1,15 @@ |
<!DOCTYPE html> |
<html> |
<head> |
-<link id="target" rel="import" href="http://localhost:8080/htmlimports/resources/hello.html"> |
+<script> |
+</script> |
abarth-chromium
2013/07/26 17:17:34
Is there a reason to have this empty script block?
|
+<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> |