OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 | 2 |
3 <!-- Copyright 2016 The Chromium Authors. All rights reserved. | 3 <!-- Copyright 2016 The Chromium Authors. All rights reserved. |
4 Use of this source code is governed by a BSD-style license that can be | 4 Use of this source code is governed by a BSD-style license that can be |
5 found in the LICENSE file. --> | 5 found in the LICENSE file. --> |
6 | 6 |
7 <html> | 7 <html> |
8 <head> | 8 <head> |
9 <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> | 9 <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> |
10 <title>History navigation</title> | 10 <title>History navigation</title> |
11 <script type="text/javascript" src="history_go.js"></script> | 11 <script type="text/javascript" src="history_go.js"></script> |
12 </head> | 12 </head> |
13 <body> | 13 <body> |
14 <p></p> | 14 <p></p> |
15 <div id='on-load-div'></div> | 15 <div id='on-load-div'></div> |
16 <br> | 16 <br> |
17 <div id='no-op-div'></div> | 17 <div id='no-op-div'></div> |
18 <br> | 18 <br> |
19 <div id='pop-state-received-div'></div> | 19 <div id='pop-state-received-div'></div> |
20 <br> | 20 <br> |
21 <div id='state-object-div'></div> | 21 <div id='state-object-div'></div> |
22 <br> | 22 <br> |
23 <div id='hash-change-received-div'></div> | 23 <div id='hash-change-received-div'></div> |
24 </p> | 24 </p> |
25 | 25 |
26 <input type="button" value="go-no-parameter" id="go-no-parameter" | 26 <input type="button" value="go-no-parameter" id="go-no-parameter" |
27 onclick="goNoParameter()" /><br> | 27 onclick="goNoParameter()" /><br> |
28 <input type="button" value="go-zero" id="go-zero" | 28 <input type="button" value="go-zero" id="go-zero" |
29 onclick="goZero()" /><br> | 29 onclick="goZero()" /><br> |
| 30 <input type="button" value="go-back" id="go-back" |
| 31 onclick="goBack()" /><br> |
| 32 <input type="button" value="go-forward" id="go-forward" |
| 33 onclick="goForward()" /><br> |
30 <input type="button" value="go-2" id="go-2" | 34 <input type="button" value="go-2" id="go-2" |
31 onclick="go2()" /><br> | 35 onclick="go2()" /><br> |
32 <input type="button" value="go-back-2" id="go-back-2" | 36 <input type="button" value="go-back-2" id="go-back-2" |
33 onclick="goBack2()" /><br> | 37 onclick="goBack2()" /><br> |
| 38 <input type="button" value="push-state-with-hash" id="push-state-with-hash" |
| 39 onclick="pushStateWithHash()" /><br> |
34 | 40 |
35 </body> | 41 </body> |
36 </html> | 42 </html> |
OLD | NEW |