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

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

Issue 21600002: Add json responseType support to XMLHttpRequest (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 7 years, 4 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
Index: LayoutTests/http/tests/xmlhttprequest/response-json-expected.txt
diff --git a/LayoutTests/http/tests/xmlhttprequest/response-json-expected.txt b/LayoutTests/http/tests/xmlhttprequest/response-json-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6e02623f5ad614e6906dfd7b6549901ddd856b6d
--- /dev/null
+++ b/LayoutTests/http/tests/xmlhttprequest/response-json-expected.txt
@@ -0,0 +1,27 @@
+Test XMLHttpRequest with responseType set to 'json' for various input
+
+PASS: "200" == "200"
+PASS: "4" == "4"
+PASS: "a" == "a"
+PASS: "b" == "b"
+PASS: "2" == "2"
+PASS: "3" == "3"
+PASS: "200" == "200"
+PASS: "1" == "1"
+PASS: "200" == "200"
+PASS: "-1" == "-1"
+PASS: "200" == "200"
+PASS: "null" == "null"
+PASS: "200" == "200"
+PASS: "{}" == "{}"
+PASS: "200" == "200"
+PASS: "[]" == "[]"
+PASS: "200" == "200"
+PASS: "{"a":5,"b":10,"c":[{},5,"\n"]}" == "{"a":5,"b":10,"c":[{},5,"\n"]}"
+PASS: "200" == "200"
+PASS: "null" == "null"
+PASS: "200" == "200"
+PASS: "null" == "null"
+PASS: "200" == "200"
+PASS: "null" == "null"
+
« no previous file with comments | « LayoutTests/http/tests/xmlhttprequest/response-json.html ('k') | Source/bindings/v8/custom/V8XMLHttpRequestCustom.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698