| OLD | NEW |
| 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> |
| OLD | NEW |