OLD | NEW |
1 <head> | 1 <head> |
2 <script src="../js/resources/js-test-pre.js"></script> | 2 <script src="../js/resources/js-test-pre.js"></script> |
3 </head> | 3 </head> |
4 <body> | 4 <body> |
5 <p id="description"></p> | 5 <p id="description"></p> |
6 <pre id="console"></pre> | 6 <pre id="console"></pre> |
7 <script> | 7 <script> |
8 description('Tests that using location.replace to update the hash of a page pres
erves it when navigating back to it.'); | 8 description('Tests that using location.replace to update the hash of a page pres
erves it when navigating back to it.'); |
9 | 9 |
10 jsTestIsAsync = true; | 10 jsTestIsAsync = true; |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 testFailed('Should not be in state ' + currentState); | 56 testFailed('Should not be in state ' + currentState); |
57 break; | 57 break; |
58 } | 58 } |
59 | 59 |
60 if (currentState == 4) { | 60 if (currentState == 4) { |
61 testPassed('Complete: navigated through all the states'); | 61 testPassed('Complete: navigated through all the states'); |
62 finishJSTest(); | 62 finishJSTest(); |
63 } | 63 } |
64 } | 64 } |
65 </script> | 65 </script> |
66 <script src="../js/resources/js-test-post.js"></script> | |
67 </body> | 66 </body> |
OLD | NEW |