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

Unified Diff: LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-no-content-type-with-text-expected.txt

Issue 22601002: Correct the default Content-Type for XHR Post with string data as per XHR specification. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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/xmlhttprequest-no-content-type-with-text-expected.txt
diff --git a/LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-no-content-type-with-text-expected.txt b/LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-no-content-type-with-text-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..917dd7ed93ada0fb2b5285b59dbfc0a74550dbf7
--- /dev/null
+++ b/LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-no-content-type-with-text-expected.txt
@@ -0,0 +1,5 @@
+Test that text/plain;charset=UTF-8 is set as default Content-Type for POST requests
+with text content. Should print PASS.
+
+PASS
+

Powered by Google App Engine
This is Rietveld 408576698