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

Side by Side Diff: LayoutTests/http/tests/navigation/replacestate-base-legal.html

Issue 6911011: Merge 85436 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/742/
Patch Set: Created 9 years, 7 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
1 <html> 1 <html>
2 <head> 2 <head>
3 <base id="base"> 3 <base id="base">
4 <script> 4 <script>
5 if (window.layoutTestController) { 5 if (window.layoutTestController) {
6 layoutTestController.dumpAsText(); 6 layoutTestController.dumpAsText();
7 layoutTestController.waitUntilDone(); 7 layoutTestController.waitUntilDone();
8 } 8 }
9 9
10 var url = window.location.href; 10 var url = window.location.href;
11 url = url.slice(0, url.lastIndexOf('/') + 1) + "resources/"; 11 url = url.slice(0, url.lastIndexOf('/') + 1) + "resources/";
12 document.getElementById("base").href = url; 12 document.getElementById("base").href = url;
13 13
14 window.onload = function() { 14 window.onload = function() {
15 window.history.replaceState({}, {}, "replacestate-base-pass.html"); 15 window.history.replaceState({}, {}, "replacestate-base-pass.html");
16 window.history.go(0); 16 window.history.go(0);
17 } 17 }
18 18
19 </script> 19 </script>
20 </head> 20 </head>
21 </html> 21 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698