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

Unified Diff: LayoutTests/fast/loader/stateobjects/replacestate-base-legal.html

Issue 3106001: Merge 64077 - 2010-07-26 Justin Schuh <jschuh@chromium.org>... (Closed) Base URL: svn://svn.chromium.org/chrome/branches/WebKit/375/
Patch Set: Created 10 years, 4 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 side-by-side diff with in-line comments
Download patch
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>

Powered by Google App Engine
This is Rietveld 408576698