1 Test XMLHttpRequest.responseURL
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
8 xhr.readyState = 2: responseURL = http://127.0.0.1:8000/xmlhttprequest/resources/reply2.txt
9 xhr.readyState = 3: responseURL = http://127.0.0.1:8000/xmlhttprequest/resources/reply2.txt
10 xhr.readyState = 4: responseURL = http://127.0.0.1:8000/xmlhttprequest/resources/reply2.txt
12 PASS responseURL is "http://127.0.0.1:8000/xmlhttprequest/resources/reply2.txt"
13 PASS responseURL is ""
14 PASS responseURL is ""
15 xhr.readyState = 2: responseURL = http://127.0.0.1:8000/xmlhttprequest/resources/reply2.xml
16 xhr.readyState = 3: responseURL = http://127.0.0.1:8000/xmlhttprequest/resources/reply2.xml
17 xhr.readyState = 4: responseURL = http://127.0.0.1:8000/xmlhttprequest/resources/reply2.xml
19 PASS responseURL is "http://127.0.0.1:8000/xmlhttprequest/resources/reply2.xml"
20 PASS responseURL is ""
21 PASS responseURL is ""
22 xhr.readyState = 2: responseURL = http://127.0.0.1:8000/xmlhttprequest/resources/navigation-target.html
23 xhr.readyState = 3: responseURL = http://127.0.0.1:8000/xmlhttprequest/resources/navigation-target.html
24 xhr.readyState = 4: responseURL = http://127.0.0.1:8000/xmlhttprequest/resources/navigation-target.html
26 PASS responseURL is "http://127.0.0.1:8000/xmlhttprequest/resources/navigation-target.html"
27 PASS responseURL is ""
28 PASS responseURL is ""
29 xhr.readyState = 2: responseURL = http://127.0.0.1:8000/xmlhttprequest/resources/not-found.txt
30 xhr.readyState = 3: responseURL = http://127.0.0.1:8000/xmlhttprequest/resources/not-found.txt
31 xhr.readyState = 4: responseURL = http://127.0.0.1:8000/xmlhttprequest/resources/not-found.txt
33 PASS responseURL is "http://127.0.0.1:8000/xmlhttprequest/resources/not-found.txt"
34 xhr.readyState = 1: responseURL =
35 PASS successfullyParsed is true