16 lines
704 B
Plaintext
16 lines
704 B
Plaintext
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
|
|
|