Index: chrome/test/data/extensions/api_test/webnavigation/forwardBack/a.html |
diff --git a/chrome/test/data/extensions/api_test/webnavigation/forwardBack/a.html b/chrome/test/data/extensions/api_test/webnavigation/forwardBack/a.html |
index 7b3462cdfeef99082b33c7bd12b6361035fa3611..b0b6c8bcd98f3137ffc8c5f921fc7f4c1cd3c37a 100644 |
--- a/chrome/test/data/extensions/api_test/webnavigation/forwardBack/a.html |
+++ b/chrome/test/data/extensions/api_test/webnavigation/forwardBack/a.html |
@@ -1,6 +1,14 @@ |
+<html> |
+<head> |
<script> |
+function navigate() { |
if (window.sessionStorage['redirected'] != 1) { |
window.sessionStorage['redirected'] = 1; |
- window.setTimeout('document.location = "b.html";', 500); |
+ // Required so this results in a history entry being created. |
+ window.setTimeout('document.location = "b.html"', 0); |
} |
+} |
</script> |
+</head> |
+<body onload="navigate()"></body> |
+</html> |