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

Side by Side Diff: chrome/test/data/History/history_length_test2.html

Issue 159329: Revert 19923 - Merge r15950.... (Closed) Base URL: svn://chrome-svn/chrome/branches/172/src/
Patch Set: Created 11 years, 5 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <html>
2 <head><title>History test2</title>
3 <script src="HistoryHelper.js"></script>
4 </head>
5
6 <body onload="onLoad();">
7 <div id="statusPanel" style="border: 1px solid red; width: 100%">
8 History test2....
9 <div id="Div1" style="border: 1px solid red; width: 100%">
10 </body>
11
12 <SCRIPT type="text/javascript">
13 function onLoad() {
14 setTimeout(OnValidateHistoryLength, 100);
15 }
16
17 function OnValidateHistoryLength() {
18 if (window.history.length != 3) {
19 onFailure("History_Length_Test", 1, "History length mismatch in second page O nLoad");
20 return false;
21 }
22
23 window.history.back();
24 return true;
25 }
26
27 function OnEchoHistory() {
28 alert(window.history.length);
29 }
30
31 </SCRIPT>
32 </html>
OLDNEW
« no previous file with comments | « chrome/test/data/History/history_length_test1.html ('k') | chrome/test/data/History/history_length_test_page_1.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698