blob: 7944f3bbada3a7dcb132e57b4cfafa4add609f80 [file] [log] [blame]
<html>
<!--
This test navigates to prerender_page.html via location.replace.
-->
<head>
<title>Prerender location.replace after load</title>
<script>
window.onload = function() {
setTimeout(function() {
// Wait until after load so webkitprerenderload counts aren't flaky.
var url = "prerender_page.html";
if (location.search)
url = decodeURIComponent(location.search.substring(1));
location.replace(url);
});
};
</script>
</head>
<body></body>
</html>