Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(369)

Side by Side Diff: LayoutTests/http/tests/navigation/resources/navigate-during-commit-iframe.html

Issue 1164883002: Ignore attempts to navigate once a provisional commit has gotten too far along. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <html>
2 <head>
3 <script>
4
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";
14 };
15 xhr.send();
16 window.location = "about:blank";
17 }
18
19 </script>
20 </head>
21 <body onload="doIt()">
22 Thinking...
23 </body>
24 </html>
OLDNEW
« no previous file with comments | « LayoutTests/http/tests/navigation/navigate-during-commit.html ('k') | Source/core/loader/FrameLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698