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