blob: ca66a9eaec9b1f9c1f12eaa4a05d6cc7340e14ca [file] [log] [blame]
Verify that changes done by history.replaceState and history.pushState update visitedLinks.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
This link should get colored visited as a result of replaceState() setting it as the current URL
This link should get colored visited as a result of pushState() adding it to the forward list
If you're running in a browser, the link should be orange-on-black and you should see "replacedURL.html" in your global history.
If you're running in DRT, the test will also append "PASS" or "FAIL".
PASS style1.color became "rgb(255, 165, 0)"
PASS style2.color became "rgb(255, 165, 0)"
PASS successfullyParsed is true
TEST COMPLETE