Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(400)

Unified Diff: LayoutTests/http/tests/xmlhttprequest/responseURL-expected.txt

Issue 312493004: Introduce XMLHttpRequest.responseURL. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/http/tests/xmlhttprequest/responseURL.html ('k') | Source/core/xml/XMLHttpRequest.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/http/tests/xmlhttprequest/responseURL-expected.txt
diff --git a/LayoutTests/http/tests/xmlhttprequest/responseURL-expected.txt b/LayoutTests/http/tests/xmlhttprequest/responseURL-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f676c45c14e772dc95797da101f942379543f3f2
--- /dev/null
+++ b/LayoutTests/http/tests/xmlhttprequest/responseURL-expected.txt
@@ -0,0 +1,31 @@
+Test XMLHttpRequest.responseURL
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS responseURL is ""
+PASS responseURL is ""
+xhr.readyState = 2: responseURL = http://127.0.0.1:8000/xmlhttprequest/resources/reply2.txt
+xhr.readyState = 3: responseURL = http://127.0.0.1:8000/xmlhttprequest/resources/reply2.txt
+xhr.readyState = 4: responseURL = http://127.0.0.1:8000/xmlhttprequest/resources/reply2.txt
+FAIL status should be 2000. Was 200.
+PASS responseURL is "http://127.0.0.1:8000/xmlhttprequest/resources/reply2.txt"
+PASS responseURL is ""
+PASS responseURL is ""
+xhr.readyState = 2: responseURL = http://127.0.0.1:8000/xmlhttprequest/resources/reply2.xml
+xhr.readyState = 3: responseURL = http://127.0.0.1:8000/xmlhttprequest/resources/reply2.xml
+xhr.readyState = 4: responseURL = http://127.0.0.1:8000/xmlhttprequest/resources/reply2.xml
+PASS status is "200"
+PASS responseURL is "http://127.0.0.1:8000/xmlhttprequest/resources/reply2.xml"
+PASS responseURL is ""
+PASS responseURL is ""
+xhr.readyState = 2: responseURL = http://127.0.0.1:8000/xmlhttprequest/resources/not-found.txt
+xhr.readyState = 3: responseURL = http://127.0.0.1:8000/xmlhttprequest/resources/not-found.txt
+xhr.readyState = 4: responseURL = http://127.0.0.1:8000/xmlhttprequest/resources/not-found.txt
+PASS status is "404"
+PASS responseURL is "http://127.0.0.1:8000/xmlhttprequest/resources/not-found.txt"
+xhr.readyState = 1: responseURL =
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
« no previous file with comments | « LayoutTests/http/tests/xmlhttprequest/responseURL.html ('k') | Source/core/xml/XMLHttpRequest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698