Index: chrome/test/data/History/history_length_test_page_12.html |
=================================================================== |
--- chrome/test/data/History/history_length_test_page_12.html (revision 0) |
+++ chrome/test/data/History/history_length_test_page_12.html (revision 0) |
@@ -0,0 +1,31 @@ |
+<html xmlns="http://www.w3.org/1999/xhtml"> |
+<head><title>History Test Page 12</title> |
+<script type="text/javascript" src="HistoryHelper.js"></script> |
+</head> |
+ |
+<body onload="onLoad();"> |
+<div id="statusPanel" style="border: 1px solid red; width: 100%"> |
+History Test Page 12.... |
+</div> |
+</body> |
+ |
+<script type="text/javascript"> |
+ |
+function onLoad() { |
+ setTimeout(OnInitialLoad, 50); |
+ return true; |
+} |
+ |
+function OnInitialLoad() { |
+ if (window.history.length != 3) { |
+ onFailure("History_Length_Test_12", 1, |
+ "History length mismatch on initial load at page 12: " + |
+ window.history.length); |
+ return false; |
+ } |
+ onSuccess("History_Length_Test_12", 1); |
+ return true; |
+} |
+ |
+</script> |
+</html> |