Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / http / tests / security / xss-DENIED-assign-location-href-javascript.html
blobcf9e7772cb9147eaf7cbd4b223550a1544dfd834
1 <html>
2 <script>
3 if (window.testRunner) {
4 testRunner.dumpAsText();
5 testRunner.dumpChildFramesAsText();
8 function runTest() {
9 frames[0].location.href = 'javascript:3';
12 </script>
13 <body onload="runTest()">
14 <iframe src="http://localhost:8000/security/resources/localPage.html"></iframe>
15 </body>
16 </html>