Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / http / tests / xmlhttprequest / access-control-sandboxed-iframe-denied-without-wildcard.html
blob01a6c9c3ca23848ec70ae1fc957cf18224e94e39
1 <html>
2 <script>
4 if (window.testRunner) {
5 testRunner.dumpAsText();
6 testRunner.dumpChildFramesAsText();
9 </script>
10 <body>
12 <p>This test verifies that sandboxed iframe does not have XmlHttpRequest access to
13 its server with "Access-Control-Allow-Origin" set to its own origin (127.0.0.1).</p>
15 <p>This test will print &quot;PASS&quot; on success.</p>
17 <iframe sandbox="allow-scripts"
18 src="http://127.0.0.1:8000/xmlhttprequest/resources/access-control-sandboxed-iframe-denied-without-wildcard-iframe.html" style="width: 500px;">
19 </iframe>
21 </body>
22 </html>