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

Unified Diff: Source/core/xmlhttprequest/XMLHttpRequest.cpp

Issue 761113003: Make Document.inputEncoding an explicit alias of Document.characterSet (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: drop FIXME Created 6 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
« no previous file with comments | « Source/core/loader/TextResourceDecoderBuilder.cpp ('k') | Source/platform/network/FormDataBuilder.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/xmlhttprequest/XMLHttpRequest.cpp
diff --git a/Source/core/xmlhttprequest/XMLHttpRequest.cpp b/Source/core/xmlhttprequest/XMLHttpRequest.cpp
index 2001cd1f631680c1d886530a4fe303747e0d8826..1555de3f658c3087a7d487149813bd60e0e5a5b4 100644
--- a/Source/core/xmlhttprequest/XMLHttpRequest.cpp
+++ b/Source/core/xmlhttprequest/XMLHttpRequest.cpp
@@ -789,7 +789,6 @@ void XMLHttpRequest::send(Document* document, ExceptionState& exceptionState)
// from the HTML5 specification to serialize the document.
String body = createMarkup(document);
- // FIXME: This should use value of document.inputEncoding to determine the encoding to use.
httpBody = FormData::create(UTF8Encoding().encode(body, WTF::EntitiesForUnencodables));
}
« no previous file with comments | « Source/core/loader/TextResourceDecoderBuilder.cpp ('k') | Source/platform/network/FormDataBuilder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698