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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/bom-expected.txt

Issue 1470893002: [Fetch] Always use utf-8 for decoding in text() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Reflect comments. Created 5 years 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: third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/bom-expected.txt
diff --git a/third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/bom-expected.txt b/third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/bom-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0ab296f29c39594e1e305ac5813ea80b76b16ae7
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/bom-expected.txt
@@ -0,0 +1,12 @@
+BOM can override the encoding when decoding the response in responseText.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS xhr.responseText is "三村かな子"
+PASS xhr2.responseText is "三村かな子"
+PASS xhr3.responseText is "三村かな子"
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Powered by Google App Engine
This is Rietveld 408576698