| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <script src="../../js/resources/js-test-pre.js"></script> | 3 <script src="../../js/resources/js-test-pre.js"></script> |
| 4 <script> | 4 <script> |
| 5 jsTestIsAsync = true; | 5 jsTestIsAsync = true; |
| 6 | 6 |
| 7 if (window.testRunner) | 7 if (window.testRunner) |
| 8 testRunner.keepWebHistory(); | 8 testRunner.keepWebHistory(); |
| 9 | 9 |
| 10 function loaded() | 10 function loaded() |
| (...skipping 22 matching lines...) Expand all Loading... |
| 33 </style> | 33 </style> |
| 34 </head> | 34 </head> |
| 35 <body onload="loaded();"> | 35 <body onload="loaded();"> |
| 36 <p id=description></p> | 36 <p id=description></p> |
| 37 <a id="link1" href="replacedURL.html">This link should get colored visited as a
result of replaceState() setting it as the current URL</a><br> | 37 <a id="link1" href="replacedURL.html">This link should get colored visited as a
result of replaceState() setting it as the current URL</a><br> |
| 38 <a id="link2" href="pushedURL.html">This link should get colored visited as a re
sult of pushState() adding it to the forward list</a><br> | 38 <a id="link2" href="pushedURL.html">This link should get colored visited as a re
sult of pushState() adding it to the forward list</a><br> |
| 39 If you're running in a browser, the link should be orange-on-black and you shoul
d see "replacedURL.html" in your global history.<br> | 39 If you're running in a browser, the link should be orange-on-black and you shoul
d see "replacedURL.html" in your global history.<br> |
| 40 If you're running in DRT, the test will also append "PASS" or "FAIL".<br> | 40 If you're running in DRT, the test will also append "PASS" or "FAIL".<br> |
| 41 <div id=console></div> | 41 <div id=console></div> |
| 42 </body> | 42 </body> |
| 43 <script src="../../js/resources/js-test-post.js"></script> | |
| 44 </html> | 43 </html> |
| OLD | NEW |