Index: LayoutTests/fast/loader/stateobjects/replacestate-base-legal.html |
=================================================================== |
--- LayoutTests/fast/loader/stateobjects/replacestate-base-legal.html (revision 0) |
+++ LayoutTests/fast/loader/stateobjects/replacestate-base-legal.html (revision 55463) |
@@ -0,0 +1,21 @@ |
+<html> |
+<head> |
+<base id="base"> |
+<script> |
+if (window.layoutTestController) { |
+ layoutTestController.dumpAsText(); |
+ layoutTestController.waitUntilDone(); |
+} |
+ |
+var url = window.location.href; |
+url = url.slice(0, url.lastIndexOf('/') + 1) + "resources/"; |
+document.getElementById("base").href = url; |
+ |
+window.onload = function() { |
+ window.history.replaceState({}, {}, "replacestate-base-pass.html"); |
+ window.history.go(0); |
+} |
+ |
+</script> |
+</head> |
+</html> |