Index: LayoutTests/http/tests/htmlimports/block-cookies.html |
diff --git a/LayoutTests/http/tests/htmlimports/block-cookies.html b/LayoutTests/http/tests/htmlimports/block-cookies.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..ca4593425dc3773e0628a7f37a7ce8a395f1dc3e |
--- /dev/null |
+++ b/LayoutTests/http/tests/htmlimports/block-cookies.html |
@@ -0,0 +1,14 @@ |
+<!DOCTYPE html> |
+<html> |
+<head> |
+<link id="target" rel="import" href="resources/cookie.cgi"> |
+<script src="/js-test-resources/js-test-pre.js"></script> |
+</head> |
+<body> |
+<script> |
+shouldBe("target.import.querySelector('h1').innerHTML", "'Cookie Sent!'"); |
+shouldBe("document.cookie.indexOf('htmlimport=hello')", "-1"); |
+</script> |
+<script src="/js-test-resources/js-test-post.js"></script> |
+</body> |
+</html> |