Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / http / tests / navigation / resources / navigate-during-commit-iframe.html
blob32f2f28ff8d7c12ebd98397af99e285d72e99c6e
1 <html>
2 <head>
3 <script>
5 // Attempts a hash navigation while "about:blank" is being committed
6 // to the frame. The hash navigation should be ignored.
7 function doIt() {
8 var VERY_SLOW_URL = "../xmlhttprequest/resources/endless.php?"
9 + window.randomNumber;
10 var xhr = new XMLHttpRequest();
11 xhr.open("GET", VERY_SLOW_URL, true);
12 xhr.onabort = function() {
13 window.location.hash = "hashnav";
15 xhr.send();
16 window.location = "about:blank";
19 </script>
20 </head>
21 <body onload="doIt()">
22 Thinking...
23 </body>
24 </html>