Index: LayoutTests/http/tests/xmlhttprequest/access-control-sandboxed-iframe-allow-origin-null.html |
diff --git a/LayoutTests/http/tests/xmlhttprequest/access-control-sandboxed-iframe-allow-origin-null.html b/LayoutTests/http/tests/xmlhttprequest/access-control-sandboxed-iframe-allow-origin-null.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..7636cce4222fb4bce1e549d3ef506c7fb89504ed |
--- /dev/null |
+++ b/LayoutTests/http/tests/xmlhttprequest/access-control-sandboxed-iframe-allow-origin-null.html |
@@ -0,0 +1,18 @@ |
+<html> |
+<script> |
+ |
+if (window.testRunner) { |
+ testRunner.dumpAsText(); |
+ testRunner.dumpChildFramesAsText(); |
+} |
+ |
+</script> |
+<body> |
+ <p>This test verifies that sandboxed iframe has XmlHttpRequest access |
+ to the server that accepts all domains. It will print "PASS" on success.</p> |
+ |
+ <iframe sandbox="allow-scripts" src="http://127.0.0.1:8000/xmlhttprequest/resources/access-control-sandboxed-iframe-allow-origin-null-iframe.html" style="width: 500px;"> |
+ </iframe> |
+ |
+</body> |
+</html> |