Roll src/third_party/WebKit d9c6159:8139f33 (svn 201974:201975)
[chromium-blink-merge.git] / chrome / test / data / prerender / prerender_location_replace.html
blob7944f3bbada3a7dcb132e57b4cfafa4add609f80
1 <html>
2 <!--
3 This test navigates to prerender_page.html via location.replace.
4 -->
5 <head>
6 <title>Prerender location.replace after load</title>
7 <script>
8 window.onload = function() {
9 setTimeout(function() {
10 // Wait until after load so webkitprerenderload counts aren't flaky.
11 var url = "prerender_page.html";
12 if (location.search)
13 url = decodeURIComponent(location.search.substring(1));
14 location.replace(url);
15 });
17 </script>
18 </head>
19 <body></body>
20 </html>