<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[173254] trunk</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://trac.webkit.org/projects/webkit/changeset/173254">173254</a></dd>
<dt>Author</dt> <dd>commit-queue@webkit.org</dd>
<dt>Date</dt> <dd>2014-09-04 00:03:54 -0700 (Thu, 04 Sep 2014)</dd>
</dl>

<h3>Log Message</h3>
<pre>XMLHttpRequest always defaults Content-Type to application/xml, while it should depend on data type
https://bugs.webkit.org/show_bug.cgi?id=11049

Patch by Youenn Fablet &lt;youenn.fablet@crf.canon.fr&gt; on 2014-09-03
Reviewed by Darin Adler.

Source/WebCore:

Updated default mime type when sending text (changed from application/xml to text/plain;charset=UTF-8)
Updated default mime type when sending document (set to application/xml;charset=UTF-8 for XML documents and text/html;charset=UTF-8 for HTML documents)

Test: http/tests/xmlhttprequest/post-content-type-document.html

* xml/XMLHttpRequest.cpp:
(WebCore::XMLHttpRequest::send): updating default Content-Type valuess.

LayoutTests:

* http/tests/xmlhttprequest/methods-lower-case-expected.txt: Rebaseline (application/xml -&gt; text/plain;charset=UTF-8).
* http/tests/xmlhttprequest/post-content-type-document.html: New test to cover default mime type for XML and HTML document data types.
* http/tests/xmlhttprequest/post-content-type-document-expected.txt: Ditto.
* http/tests/xmlhttprequest/post-content-type-expected.txt: Rebaseline (application/xml -&gt; text/plain;charset=UTF-8).
* http/tests/xmlhttprequest/post-content-type.html: Ditto.
* http/tests/xmlhttprequest/request-encoding2.html: Ditto.
* platform/gtk/http/tests/xmlhttprequest/methods-async-expected.txt: Ditto.
* platform/gtk/http/tests/xmlhttprequest/methods-expected.txt: Ditto.
* platform/gtk/http/tests/xmlhttprequest/workers/methods-async-expected.txt: Ditto.
* platform/gtk/http/tests/xmlhttprequest/workers/methods-expected.txt: Ditto.
* platform/gtk/http/tests/xmlhttprequest/workers/shared-worker-methods-async-expected.txt: Ditto.
* platform/gtk/http/tests/xmlhttprequest/workers/shared-worker-methods-expected.txt: Ditto.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkLayoutTestsChangeLog">trunk/LayoutTests/ChangeLog</a></li>
<li><a href="#trunkLayoutTestshttptestsxmlhttprequestmethodsasyncexpectedtxt">trunk/LayoutTests/http/tests/xmlhttprequest/methods-async-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsxmlhttprequestmethodsexpectedtxt">trunk/LayoutTests/http/tests/xmlhttprequest/methods-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsxmlhttprequestmethodslowercaseexpectedtxt">trunk/LayoutTests/http/tests/xmlhttprequest/methods-lower-case-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsxmlhttprequestpostcontenttypeexpectedtxt">trunk/LayoutTests/http/tests/xmlhttprequest/post-content-type-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsxmlhttprequestpostcontenttypehtml">trunk/LayoutTests/http/tests/xmlhttprequest/post-content-type.html</a></li>
<li><a href="#trunkLayoutTestshttptestsxmlhttprequestrequestencoding2html">trunk/LayoutTests/http/tests/xmlhttprequest/request-encoding2.html</a></li>
<li><a href="#trunkLayoutTestshttptestsxmlhttprequestworkersmethodsasyncexpectedtxt">trunk/LayoutTests/http/tests/xmlhttprequest/workers/methods-async-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsxmlhttprequestworkersmethodsexpectedtxt">trunk/LayoutTests/http/tests/xmlhttprequest/workers/methods-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsxmlhttprequestworkerssharedworkermethodsasyncexpectedtxt">trunk/LayoutTests/http/tests/xmlhttprequest/workers/shared-worker-methods-async-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsxmlhttprequestworkerssharedworkermethodsexpectedtxt">trunk/LayoutTests/http/tests/xmlhttprequest/workers/shared-worker-methods-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformeflhttptestsxmlhttprequestmethodsasyncexpectedtxt">trunk/LayoutTests/platform/efl/http/tests/xmlhttprequest/methods-async-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformeflhttptestsxmlhttprequestmethodsexpectedtxt">trunk/LayoutTests/platform/efl/http/tests/xmlhttprequest/methods-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformeflhttptestsxmlhttprequestworkersmethodsasyncexpectedtxt">trunk/LayoutTests/platform/efl/http/tests/xmlhttprequest/workers/methods-async-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformeflhttptestsxmlhttprequestworkersmethodsexpectedtxt">trunk/LayoutTests/platform/efl/http/tests/xmlhttprequest/workers/methods-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformeflhttptestsxmlhttprequestworkerssharedworkermethodsasyncexpectedtxt">trunk/LayoutTests/platform/efl/http/tests/xmlhttprequest/workers/shared-worker-methods-async-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformeflhttptestsxmlhttprequestworkerssharedworkermethodsexpectedtxt">trunk/LayoutTests/platform/efl/http/tests/xmlhttprequest/workers/shared-worker-methods-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformgtkhttptestsxmlhttprequestmethodsasyncexpectedtxt">trunk/LayoutTests/platform/gtk/http/tests/xmlhttprequest/methods-async-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformgtkhttptestsxmlhttprequestmethodsexpectedtxt">trunk/LayoutTests/platform/gtk/http/tests/xmlhttprequest/methods-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformgtkhttptestsxmlhttprequestworkersmethodsasyncexpectedtxt">trunk/LayoutTests/platform/gtk/http/tests/xmlhttprequest/workers/methods-async-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformgtkhttptestsxmlhttprequestworkersmethodsexpectedtxt">trunk/LayoutTests/platform/gtk/http/tests/xmlhttprequest/workers/methods-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformgtkhttptestsxmlhttprequestworkerssharedworkermethodsasyncexpectedtxt">trunk/LayoutTests/platform/gtk/http/tests/xmlhttprequest/workers/shared-worker-methods-async-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformgtkhttptestsxmlhttprequestworkerssharedworkermethodsexpectedtxt">trunk/LayoutTests/platform/gtk/http/tests/xmlhttprequest/workers/shared-worker-methods-expected.txt</a></li>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCorexmlXMLHttpRequestcpp">trunk/Source/WebCore/xml/XMLHttpRequest.cpp</a></li>
</ul>

<h3>Added Paths</h3>
<ul>
<li><a href="#trunkLayoutTestshttptestsxmlhttprequestpostcontenttypedocumentexpectedtxt">trunk/LayoutTests/http/tests/xmlhttprequest/post-content-type-document-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsxmlhttprequestpostcontenttypedocumenthtml">trunk/LayoutTests/http/tests/xmlhttprequest/post-content-type-document.html</a></li>
</ul>

<h3>Property Changed</h3>
<ul>
<li><a href="#trunkLayoutTestshttptestsxmlhttprequestmethodsasyncexpectedtxt">trunk/LayoutTests/http/tests/xmlhttprequest/methods-async-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsxmlhttprequestmethodsexpectedtxt">trunk/LayoutTests/http/tests/xmlhttprequest/methods-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsxmlhttprequestworkersmethodsasyncexpectedtxt">trunk/LayoutTests/http/tests/xmlhttprequest/workers/methods-async-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsxmlhttprequestworkersmethodsexpectedtxt">trunk/LayoutTests/http/tests/xmlhttprequest/workers/methods-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsxmlhttprequestworkerssharedworkermethodsasyncexpectedtxt">trunk/LayoutTests/http/tests/xmlhttprequest/workers/shared-worker-methods-async-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsxmlhttprequestworkerssharedworkermethodsexpectedtxt">trunk/LayoutTests/http/tests/xmlhttprequest/workers/shared-worker-methods-expected.txt</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkLayoutTestsChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/ChangeLog (173253 => 173254)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/ChangeLog        2014-09-04 06:46:42 UTC (rev 173253)
+++ trunk/LayoutTests/ChangeLog        2014-09-04 07:03:54 UTC (rev 173254)
</span><span class="lines">@@ -1,3 +1,23 @@
</span><ins>+2014-09-03  Youenn Fablet  &lt;youenn.fablet@crf.canon.fr&gt;
+
+        XMLHttpRequest always defaults Content-Type to application/xml, while it should depend on data type
+        https://bugs.webkit.org/show_bug.cgi?id=11049
+
+        Reviewed by Darin Adler.
+
+        * http/tests/xmlhttprequest/methods-lower-case-expected.txt: Rebaseline (application/xml -&gt; text/plain;charset=UTF-8).
+        * http/tests/xmlhttprequest/post-content-type-document.html: New test to cover default mime type for XML and HTML document data types.
+        * http/tests/xmlhttprequest/post-content-type-document-expected.txt: Ditto.
+        * http/tests/xmlhttprequest/post-content-type-expected.txt: Rebaseline (application/xml -&gt; text/plain;charset=UTF-8).
+        * http/tests/xmlhttprequest/post-content-type.html: Ditto.
+        * http/tests/xmlhttprequest/request-encoding2.html: Ditto.
+        * platform/gtk/http/tests/xmlhttprequest/methods-async-expected.txt: Ditto.
+        * platform/gtk/http/tests/xmlhttprequest/methods-expected.txt: Ditto.
+        * platform/gtk/http/tests/xmlhttprequest/workers/methods-async-expected.txt: Ditto.
+        * platform/gtk/http/tests/xmlhttprequest/workers/methods-expected.txt: Ditto.
+        * platform/gtk/http/tests/xmlhttprequest/workers/shared-worker-methods-async-expected.txt: Ditto.
+        * platform/gtk/http/tests/xmlhttprequest/workers/shared-worker-methods-expected.txt: Ditto.
+
</ins><span class="cx"> 2014-09-03  Shivakumar JM  &lt;shiva.jm@samsung.com&gt;
</span><span class="cx"> 
</span><span class="cx">         [EFL] Websocket Layout Tests passed in latest build.
</span></span></pre></div>
<a id="trunkLayoutTestshttptestsxmlhttprequestmethodsasyncexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/http/tests/xmlhttprequest/methods-async-expected.txt (173253 => 173254)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/xmlhttprequest/methods-async-expected.txt        2014-09-04 06:46:42 UTC (rev 173253)
+++ trunk/LayoutTests/http/tests/xmlhttprequest/methods-async-expected.txt        2014-09-04 07:03:54 UTC (rev 173254)
</span><span class="lines">@@ -3,21 +3,21 @@
</span><span class="cx"> GET(&quot;&quot;): GET(null bytes), Content-Type: null
</span><span class="cx"> GET(null): GET(null bytes), Content-Type: null
</span><span class="cx"> GET(&quot;123&quot;): GET(null bytes), Content-Type: null
</span><del>-POST(&quot;&quot;): POST(0 bytes), Content-Type: application/xml
</del><ins>+POST(&quot;&quot;): POST(0 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> POST(null): POST(0 bytes), Content-Type: null
</span><del>-POST(&quot;123&quot;): POST(3 bytes), Content-Type: application/xml
-PUT(&quot;&quot;): PUT(0 bytes), Content-Type: application/xml
</del><ins>+POST(&quot;123&quot;): POST(3 bytes), Content-Type: text/plain;charset=UTF-8
+PUT(&quot;&quot;): PUT(0 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> PUT(null): PUT(0 bytes), Content-Type: null
</span><del>-PUT(&quot;123&quot;): PUT(3 bytes), Content-Type: application/xml
-DELETE(&quot;&quot;): DELETE(0 bytes), Content-Type: application/xml
</del><ins>+PUT(&quot;123&quot;): PUT(3 bytes), Content-Type: text/plain;charset=UTF-8
+DELETE(&quot;&quot;): DELETE(0 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> DELETE(null): DELETE(0 bytes), Content-Type: null
</span><del>-DELETE(&quot;123&quot;): DELETE(3 bytes), Content-Type: application/xml
</del><ins>+DELETE(&quot;123&quot;): DELETE(3 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> HEAD(&quot;&quot;): HEAD(0 bytes), Content-Type: null
</span><span class="cx"> HEAD(null): HEAD(0 bytes), Content-Type: null
</span><span class="cx"> HEAD(&quot;123&quot;): HEAD(0 bytes), Content-Type: null
</span><del>-WKFOOBAR(&quot;&quot;): WKFOOBAR(0 bytes), Content-Type: application/xml
</del><ins>+WKFOOBAR(&quot;&quot;): WKFOOBAR(0 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> WKFOOBAR(null): WKFOOBAR(0 bytes), Content-Type: null
</span><del>-WKFOOBAR(&quot;123&quot;): WKFOOBAR(3 bytes), Content-Type: application/xml
-SEARCH(&quot;&quot;): SEARCH(0 bytes), Content-Type: application/xml
</del><ins>+WKFOOBAR(&quot;123&quot;): WKFOOBAR(3 bytes), Content-Type: text/plain;charset=UTF-8
+SEARCH(&quot;&quot;): SEARCH(0 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> SEARCH(null): SEARCH(0 bytes), Content-Type: null
</span><del>-SEARCH(&quot;123&quot;): SEARCH(3 bytes), Content-Type: application/xml
</del><ins>+SEARCH(&quot;123&quot;): SEARCH(3 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx">Property changes on: trunk/LayoutTests/http/tests/xmlhttprequest/methods-async-expected.txt
</span><span class="cx">___________________________________________________________________
</span></span></pre></div>
<a id="svnexecutable"></a>
<div class="addfile"><h4>Added: svn:executable</h4></div>
<a id="trunkLayoutTestshttptestsxmlhttprequestmethodsexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/http/tests/xmlhttprequest/methods-expected.txt (173253 => 173254)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/xmlhttprequest/methods-expected.txt        2014-09-04 06:46:42 UTC (rev 173253)
+++ trunk/LayoutTests/http/tests/xmlhttprequest/methods-expected.txt        2014-09-04 07:03:54 UTC (rev 173254)
</span><span class="lines">@@ -3,21 +3,21 @@
</span><span class="cx"> GET(&quot;&quot;): GET(null bytes), Content-Type: null
</span><span class="cx"> GET(null): GET(null bytes), Content-Type: null
</span><span class="cx"> GET(&quot;123&quot;): GET(null bytes), Content-Type: null
</span><del>-POST(&quot;&quot;): POST(0 bytes), Content-Type: application/xml
</del><ins>+POST(&quot;&quot;): POST(0 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> POST(null): POST(0 bytes), Content-Type: null
</span><del>-POST(&quot;123&quot;): POST(3 bytes), Content-Type: application/xml
-PUT(&quot;&quot;): PUT(0 bytes), Content-Type: application/xml
</del><ins>+POST(&quot;123&quot;): POST(3 bytes), Content-Type: text/plain;charset=UTF-8
+PUT(&quot;&quot;): PUT(0 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> PUT(null): PUT(0 bytes), Content-Type: null
</span><del>-PUT(&quot;123&quot;): PUT(3 bytes), Content-Type: application/xml
-DELETE(&quot;&quot;): DELETE(0 bytes), Content-Type: application/xml
</del><ins>+PUT(&quot;123&quot;): PUT(3 bytes), Content-Type: text/plain;charset=UTF-8
+DELETE(&quot;&quot;): DELETE(0 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> DELETE(null): DELETE(0 bytes), Content-Type: null
</span><del>-DELETE(&quot;123&quot;): DELETE(3 bytes), Content-Type: application/xml
</del><ins>+DELETE(&quot;123&quot;): DELETE(3 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> HEAD(&quot;&quot;): HEAD(0 bytes), Content-Type: null
</span><span class="cx"> HEAD(null): HEAD(0 bytes), Content-Type: null
</span><span class="cx"> HEAD(&quot;123&quot;): HEAD(0 bytes), Content-Type: null
</span><del>-WKFOOBAR(&quot;&quot;): WKFOOBAR(0 bytes), Content-Type: application/xml
</del><ins>+WKFOOBAR(&quot;&quot;): WKFOOBAR(0 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> WKFOOBAR(null): WKFOOBAR(0 bytes), Content-Type: null
</span><del>-WKFOOBAR(&quot;123&quot;): WKFOOBAR(3 bytes), Content-Type: application/xml
-SEARCH(&quot;&quot;): SEARCH(0 bytes), Content-Type: application/xml
</del><ins>+WKFOOBAR(&quot;123&quot;): WKFOOBAR(3 bytes), Content-Type: text/plain;charset=UTF-8
+SEARCH(&quot;&quot;): SEARCH(0 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> SEARCH(null): SEARCH(0 bytes), Content-Type: null
</span><del>-SEARCH(&quot;123&quot;): SEARCH(3 bytes), Content-Type: application/xml
</del><ins>+SEARCH(&quot;123&quot;): SEARCH(3 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx">Property changes on: trunk/LayoutTests/http/tests/xmlhttprequest/methods-expected.txt
</span><span class="cx">___________________________________________________________________
</span></span></pre></div>
<a id="svnexecutable"></a>
<div class="addfile"><h4>Added: svn:executable</h4></div>
<a id="trunkLayoutTestshttptestsxmlhttprequestmethodslowercaseexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/http/tests/xmlhttprequest/methods-lower-case-expected.txt (173253 => 173254)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/xmlhttprequest/methods-lower-case-expected.txt        2014-09-04 06:46:42 UTC (rev 173253)
+++ trunk/LayoutTests/http/tests/xmlhttprequest/methods-lower-case-expected.txt        2014-09-04 07:03:54 UTC (rev 173254)
</span><span class="lines">@@ -1,8 +1,8 @@
</span><span class="cx"> Tests for bug 8099 - XMLHttpRequest lowercase post requests broken.
</span><span class="cx"> 
</span><span class="cx"> get(&quot;&quot;): GET(null bytes), Content-Type: null
</span><del>-post(&quot;&quot;): POST(0 bytes), Content-Type: application/xml
-DoIt(&quot;&quot;): DoIt(0 bytes), Content-Type: application/xml
</del><ins>+post(&quot;&quot;): POST(0 bytes), Content-Type: text/plain;charset=UTF-8
+DoIt(&quot;&quot;): DoIt(0 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> get(&quot;&quot;): GET(null bytes), Content-Type: null
</span><del>-post(&quot;&quot;): POST(0 bytes), Content-Type: application/xml
-DoIt(&quot;&quot;): DoIt(0 bytes), Content-Type: application/xml
</del><ins>+post(&quot;&quot;): POST(0 bytes), Content-Type: text/plain;charset=UTF-8
+DoIt(&quot;&quot;): DoIt(0 bytes), Content-Type: text/plain;charset=UTF-8
</ins></span></pre></div>
<a id="trunkLayoutTestshttptestsxmlhttprequestpostcontenttypedocumentexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/http/tests/xmlhttprequest/post-content-type-document-expected.txt (0 => 173254)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/xmlhttprequest/post-content-type-document-expected.txt                                (rev 0)
+++ trunk/LayoutTests/http/tests/xmlhttprequest/post-content-type-document-expected.txt        2014-09-04 07:03:54 UTC (rev 173254)
</span><span class="lines">@@ -0,0 +1,4 @@
</span><ins>+
+PASS sending HTML document should set the Content-Type to text/html;charset=UTF-8. 
+PASS sending XML document should set the Content-Type to application/xml;charset=UTF-8. 
+
</ins></span></pre></div>
<a id="trunkLayoutTestshttptestsxmlhttprequestpostcontenttypedocumenthtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/http/tests/xmlhttprequest/post-content-type-document.html (0 => 173254)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/xmlhttprequest/post-content-type-document.html                                (rev 0)
+++ trunk/LayoutTests/http/tests/xmlhttprequest/post-content-type-document.html        2014-09-04 07:03:54 UTC (rev 173254)
</span><span class="lines">@@ -0,0 +1,25 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;title&gt;XMLHttpRequest: default mime type when sending Document should be text/html or application/xml according the document type.&lt;/title&gt;
+&lt;/head&gt;
+&lt;body&gt;
+&lt;script src=&quot;/js-test-resources/testharness.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;/js-test-resources/testharnessreport.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+    test(function() {
+        req = new XMLHttpRequest
+        req.open(&quot;POST&quot;, &quot;print-content-type.cgi&quot;, false)
+        req.send(new DOMParser().parseFromString(&quot;&amp;lt;html/&amp;gt;&quot;, &quot;text/html&quot;))
+        assert_equals(req.responseText.trim(), &quot;text/html;charset=UTF-8&quot;)
+    }, &quot;sending HTML document should set the Content-Type to text/html;charset=UTF-8.&quot;)
+
+    test(function() {
+        req = new XMLHttpRequest
+        req.open(&quot;POST&quot;, &quot;print-content-type.cgi&quot;, false)
+        req.send(new DOMParser().parseFromString(&quot;&amp;lt;test/&amp;gt;&quot;, &quot;application/xml&quot;))
+        assert_equals(req.responseText.trim(), &quot;application/xml;charset=UTF-8&quot;, &quot;sending XML document via XMLHttpRequest should set the Content-Type to application/xml;charset=UTF-8.&quot;)
+    }, &quot;sending XML document should set the Content-Type to application/xml;charset=UTF-8.&quot;)
+&lt;/script&gt;
+&lt;/body&gt;
+&lt;/html&gt;
+
</ins></span></pre></div>
<a id="trunkLayoutTestshttptestsxmlhttprequestpostcontenttypeexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/http/tests/xmlhttprequest/post-content-type-expected.txt (173253 => 173254)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/xmlhttprequest/post-content-type-expected.txt        2014-09-04 06:46:42 UTC (rev 173253)
+++ trunk/LayoutTests/http/tests/xmlhttprequest/post-content-type-expected.txt        2014-09-04 07:03:54 UTC (rev 173254)
</span><span class="lines">@@ -1,6 +1,6 @@
</span><span class="cx"> Test for bug 3565 - posting data via XMLHttpRequest doesn't work (wrong Content-Type).
</span><span class="cx"> 
</span><del>-Should be application/xml:
</del><ins>+Should be text/plain;charset=UTF-8:
</ins><span class="cx"> 
</span><del>-application/xml
</del><ins>+text/plain;charset=UTF-8
</ins><span class="cx"> 
</span></span></pre></div>
<a id="trunkLayoutTestshttptestsxmlhttprequestpostcontenttypehtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/http/tests/xmlhttprequest/post-content-type.html (173253 => 173254)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/xmlhttprequest/post-content-type.html        2014-09-04 06:46:42 UTC (rev 173253)
+++ trunk/LayoutTests/http/tests/xmlhttprequest/post-content-type.html        2014-09-04 07:03:54 UTC (rev 173254)
</span><span class="lines">@@ -2,7 +2,7 @@
</span><span class="cx"> &lt;body&gt;
</span><span class="cx"> &lt;p&gt;Test for &lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=3565&quot;&gt;bug 3565&lt;/a&gt;
</span><span class="cx"> - posting data via XMLHttpRequest doesn't work (wrong Content-Type).&lt;/p&gt;
</span><del>-&lt;p&gt;Should be application/xml:&lt;/p&gt;
</del><ins>+&lt;p&gt;Should be text/plain;charset=UTF-8:&lt;/p&gt;
</ins><span class="cx"> &lt;script&gt;
</span><span class="cx">     if (window.testRunner)
</span><span class="cx">         testRunner.dumpAsText();
</span></span></pre></div>
<a id="trunkLayoutTestshttptestsxmlhttprequestrequestencoding2html"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/http/tests/xmlhttprequest/request-encoding2.html (173253 => 173254)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/xmlhttprequest/request-encoding2.html        2014-09-04 06:46:42 UTC (rev 173253)
+++ trunk/LayoutTests/http/tests/xmlhttprequest/request-encoding2.html        2014-09-04 07:03:54 UTC (rev 173254)
</span><span class="lines">@@ -18,7 +18,7 @@
</span><span class="cx">         req.send(&quot;&quot;);
</span><span class="cx"> 
</span><span class="cx">         document.getElementById(&quot;result1&quot;).firstChild.data = &quot;Test1 (setRequestHeader was not called):&quot;;
</span><del>-        if (req.responseText == &quot;application/xml\n&quot;)
</del><ins>+        if (req.responseText == &quot;text/plain;charset=UTF-8\n&quot;)
</ins><span class="cx">             document.getElementById(&quot;result1&quot;).firstChild.data += &quot; SUCCESS&quot;;
</span><span class="cx">         else
</span><span class="cx">             document.getElementById(&quot;result1&quot;).firstChild.data += &quot; FAILURE: '&quot; + req.responseText + &quot;'&quot;;
</span></span></pre></div>
<a id="trunkLayoutTestshttptestsxmlhttprequestworkersmethodsasyncexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/http/tests/xmlhttprequest/workers/methods-async-expected.txt (173253 => 173254)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/xmlhttprequest/workers/methods-async-expected.txt        2014-09-04 06:46:42 UTC (rev 173253)
+++ trunk/LayoutTests/http/tests/xmlhttprequest/workers/methods-async-expected.txt        2014-09-04 07:03:54 UTC (rev 173254)
</span><span class="lines">@@ -3,22 +3,22 @@
</span><span class="cx"> GET(&quot;&quot;): GET(null bytes), Content-Type: null
</span><span class="cx"> GET(null): GET(null bytes), Content-Type: null
</span><span class="cx"> GET(&quot;123&quot;): GET(null bytes), Content-Type: null
</span><del>-POST(&quot;&quot;): POST(0 bytes), Content-Type: application/xml
</del><ins>+POST(&quot;&quot;): POST(0 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> POST(null): POST(0 bytes), Content-Type: null
</span><del>-POST(&quot;123&quot;): POST(3 bytes), Content-Type: application/xml
-PUT(&quot;&quot;): PUT(0 bytes), Content-Type: application/xml
</del><ins>+POST(&quot;123&quot;): POST(3 bytes), Content-Type: text/plain;charset=UTF-8
+PUT(&quot;&quot;): PUT(0 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> PUT(null): PUT(0 bytes), Content-Type: null
</span><del>-PUT(&quot;123&quot;): PUT(3 bytes), Content-Type: application/xml
-DELETE(&quot;&quot;): DELETE(0 bytes), Content-Type: application/xml
</del><ins>+PUT(&quot;123&quot;): PUT(3 bytes), Content-Type: text/plain;charset=UTF-8
+DELETE(&quot;&quot;): DELETE(0 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> DELETE(null): DELETE(0 bytes), Content-Type: null
</span><del>-DELETE(&quot;123&quot;): DELETE(3 bytes), Content-Type: application/xml
</del><ins>+DELETE(&quot;123&quot;): DELETE(3 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> HEAD(&quot;&quot;): HEAD(0 bytes), Content-Type: null
</span><span class="cx"> HEAD(null): HEAD(0 bytes), Content-Type: null
</span><span class="cx"> HEAD(&quot;123&quot;): HEAD(0 bytes), Content-Type: null
</span><del>-WKFOOBAR(&quot;&quot;): WKFOOBAR(0 bytes), Content-Type: application/xml
</del><ins>+WKFOOBAR(&quot;&quot;): WKFOOBAR(0 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> WKFOOBAR(null): WKFOOBAR(0 bytes), Content-Type: null
</span><del>-WKFOOBAR(&quot;123&quot;): WKFOOBAR(3 bytes), Content-Type: application/xml
-SEARCH(&quot;&quot;): SEARCH(0 bytes), Content-Type: application/xml
</del><ins>+WKFOOBAR(&quot;123&quot;): WKFOOBAR(3 bytes), Content-Type: text/plain;charset=UTF-8
+SEARCH(&quot;&quot;): SEARCH(0 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> SEARCH(null): SEARCH(0 bytes), Content-Type: null
</span><del>-SEARCH(&quot;123&quot;): SEARCH(3 bytes), Content-Type: application/xml
</del><ins>+SEARCH(&quot;123&quot;): SEARCH(3 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> DONE
</span><span class="cx">Property changes on: trunk/LayoutTests/http/tests/xmlhttprequest/workers/methods-async-expected.txt
</span><span class="cx">___________________________________________________________________
</span></span></pre></div>
<a id="svnexecutable"></a>
<div class="addfile"><h4>Added: svn:executable</h4></div>
<a id="trunkLayoutTestshttptestsxmlhttprequestworkersmethodsexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/http/tests/xmlhttprequest/workers/methods-expected.txt (173253 => 173254)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/xmlhttprequest/workers/methods-expected.txt        2014-09-04 06:46:42 UTC (rev 173253)
+++ trunk/LayoutTests/http/tests/xmlhttprequest/workers/methods-expected.txt        2014-09-04 07:03:54 UTC (rev 173254)
</span><span class="lines">@@ -3,22 +3,22 @@
</span><span class="cx"> GET(&quot;&quot;): GET(null bytes), Content-Type: null
</span><span class="cx"> GET(null): GET(null bytes), Content-Type: null
</span><span class="cx"> GET(&quot;123&quot;): GET(null bytes), Content-Type: null
</span><del>-POST(&quot;&quot;): POST(0 bytes), Content-Type: application/xml
</del><ins>+POST(&quot;&quot;): POST(0 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> POST(null): POST(0 bytes), Content-Type: null
</span><del>-POST(&quot;123&quot;): POST(3 bytes), Content-Type: application/xml
-PUT(&quot;&quot;): PUT(0 bytes), Content-Type: application/xml
</del><ins>+POST(&quot;123&quot;): POST(3 bytes), Content-Type: text/plain;charset=UTF-8
+PUT(&quot;&quot;): PUT(0 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> PUT(null): PUT(0 bytes), Content-Type: null
</span><del>-PUT(&quot;123&quot;): PUT(3 bytes), Content-Type: application/xml
-DELETE(&quot;&quot;): DELETE(0 bytes), Content-Type: application/xml
</del><ins>+PUT(&quot;123&quot;): PUT(3 bytes), Content-Type: text/plain;charset=UTF-8
+DELETE(&quot;&quot;): DELETE(0 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> DELETE(null): DELETE(0 bytes), Content-Type: null
</span><del>-DELETE(&quot;123&quot;): DELETE(3 bytes), Content-Type: application/xml
</del><ins>+DELETE(&quot;123&quot;): DELETE(3 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> HEAD(&quot;&quot;): HEAD(0 bytes), Content-Type: null
</span><span class="cx"> HEAD(null): HEAD(0 bytes), Content-Type: null
</span><span class="cx"> HEAD(&quot;123&quot;): HEAD(0 bytes), Content-Type: null
</span><del>-WKFOOBAR(&quot;&quot;): WKFOOBAR(0 bytes), Content-Type: application/xml
</del><ins>+WKFOOBAR(&quot;&quot;): WKFOOBAR(0 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> WKFOOBAR(null): WKFOOBAR(0 bytes), Content-Type: null
</span><del>-WKFOOBAR(&quot;123&quot;): WKFOOBAR(3 bytes), Content-Type: application/xml
-SEARCH(&quot;&quot;): SEARCH(0 bytes), Content-Type: application/xml
</del><ins>+WKFOOBAR(&quot;123&quot;): WKFOOBAR(3 bytes), Content-Type: text/plain;charset=UTF-8
+SEARCH(&quot;&quot;): SEARCH(0 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> SEARCH(null): SEARCH(0 bytes), Content-Type: null
</span><del>-SEARCH(&quot;123&quot;): SEARCH(3 bytes), Content-Type: application/xml
</del><ins>+SEARCH(&quot;123&quot;): SEARCH(3 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> DONE
</span><span class="cx">Property changes on: trunk/LayoutTests/http/tests/xmlhttprequest/workers/methods-expected.txt
</span><span class="cx">___________________________________________________________________
</span></span></pre></div>
<a id="svnexecutable"></a>
<div class="addfile"><h4>Added: svn:executable</h4></div>
<a id="trunkLayoutTestshttptestsxmlhttprequestworkerssharedworkermethodsasyncexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/http/tests/xmlhttprequest/workers/shared-worker-methods-async-expected.txt (173253 => 173254)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/xmlhttprequest/workers/shared-worker-methods-async-expected.txt        2014-09-04 06:46:42 UTC (rev 173253)
+++ trunk/LayoutTests/http/tests/xmlhttprequest/workers/shared-worker-methods-async-expected.txt        2014-09-04 07:03:54 UTC (rev 173254)
</span><span class="lines">@@ -3,22 +3,22 @@
</span><span class="cx"> GET(&quot;&quot;): GET(null bytes), Content-Type: null
</span><span class="cx"> GET(null): GET(null bytes), Content-Type: null
</span><span class="cx"> GET(&quot;123&quot;): GET(null bytes), Content-Type: null
</span><del>-POST(&quot;&quot;): POST(0 bytes), Content-Type: application/xml
</del><ins>+POST(&quot;&quot;): POST(0 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> POST(null): POST(0 bytes), Content-Type: null
</span><del>-POST(&quot;123&quot;): POST(3 bytes), Content-Type: application/xml
-PUT(&quot;&quot;): PUT(0 bytes), Content-Type: application/xml
</del><ins>+POST(&quot;123&quot;): POST(3 bytes), Content-Type: text/plain;charset=UTF-8
+PUT(&quot;&quot;): PUT(0 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> PUT(null): PUT(0 bytes), Content-Type: null
</span><del>-PUT(&quot;123&quot;): PUT(3 bytes), Content-Type: application/xml
-DELETE(&quot;&quot;): DELETE(0 bytes), Content-Type: application/xml
</del><ins>+PUT(&quot;123&quot;): PUT(3 bytes), Content-Type: text/plain;charset=UTF-8
+DELETE(&quot;&quot;): DELETE(0 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> DELETE(null): DELETE(0 bytes), Content-Type: null
</span><del>-DELETE(&quot;123&quot;): DELETE(3 bytes), Content-Type: application/xml
</del><ins>+DELETE(&quot;123&quot;): DELETE(3 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> HEAD(&quot;&quot;): HEAD(0 bytes), Content-Type: null
</span><span class="cx"> HEAD(null): HEAD(0 bytes), Content-Type: null
</span><span class="cx"> HEAD(&quot;123&quot;): HEAD(0 bytes), Content-Type: null
</span><del>-WKFOOBAR(&quot;&quot;): WKFOOBAR(0 bytes), Content-Type: application/xml
</del><ins>+WKFOOBAR(&quot;&quot;): WKFOOBAR(0 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> WKFOOBAR(null): WKFOOBAR(0 bytes), Content-Type: null
</span><del>-WKFOOBAR(&quot;123&quot;): WKFOOBAR(3 bytes), Content-Type: application/xml
-SEARCH(&quot;&quot;): SEARCH(0 bytes), Content-Type: application/xml
</del><ins>+WKFOOBAR(&quot;123&quot;): WKFOOBAR(3 bytes), Content-Type: text/plain;charset=UTF-8
+SEARCH(&quot;&quot;): SEARCH(0 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> SEARCH(null): SEARCH(0 bytes), Content-Type: null
</span><del>-SEARCH(&quot;123&quot;): SEARCH(3 bytes), Content-Type: application/xml
</del><ins>+SEARCH(&quot;123&quot;): SEARCH(3 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> DONE
</span><span class="cx">Property changes on: trunk/LayoutTests/http/tests/xmlhttprequest/workers/shared-worker-methods-async-expected.txt
</span><span class="cx">___________________________________________________________________
</span></span></pre></div>
<a id="svnexecutable"></a>
<div class="addfile"><h4>Added: svn:executable</h4></div>
<a id="trunkLayoutTestshttptestsxmlhttprequestworkerssharedworkermethodsexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/http/tests/xmlhttprequest/workers/shared-worker-methods-expected.txt (173253 => 173254)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/xmlhttprequest/workers/shared-worker-methods-expected.txt        2014-09-04 06:46:42 UTC (rev 173253)
+++ trunk/LayoutTests/http/tests/xmlhttprequest/workers/shared-worker-methods-expected.txt        2014-09-04 07:03:54 UTC (rev 173254)
</span><span class="lines">@@ -3,22 +3,22 @@
</span><span class="cx"> GET(&quot;&quot;): GET(null bytes), Content-Type: null
</span><span class="cx"> GET(null): GET(null bytes), Content-Type: null
</span><span class="cx"> GET(&quot;123&quot;): GET(null bytes), Content-Type: null
</span><del>-POST(&quot;&quot;): POST(0 bytes), Content-Type: application/xml
</del><ins>+POST(&quot;&quot;): POST(0 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> POST(null): POST(0 bytes), Content-Type: null
</span><del>-POST(&quot;123&quot;): POST(3 bytes), Content-Type: application/xml
-PUT(&quot;&quot;): PUT(0 bytes), Content-Type: application/xml
</del><ins>+POST(&quot;123&quot;): POST(3 bytes), Content-Type: text/plain;charset=UTF-8
+PUT(&quot;&quot;): PUT(0 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> PUT(null): PUT(0 bytes), Content-Type: null
</span><del>-PUT(&quot;123&quot;): PUT(3 bytes), Content-Type: application/xml
-DELETE(&quot;&quot;): DELETE(0 bytes), Content-Type: application/xml
</del><ins>+PUT(&quot;123&quot;): PUT(3 bytes), Content-Type: text/plain;charset=UTF-8
+DELETE(&quot;&quot;): DELETE(0 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> DELETE(null): DELETE(0 bytes), Content-Type: null
</span><del>-DELETE(&quot;123&quot;): DELETE(3 bytes), Content-Type: application/xml
</del><ins>+DELETE(&quot;123&quot;): DELETE(3 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> HEAD(&quot;&quot;): HEAD(0 bytes), Content-Type: null
</span><span class="cx"> HEAD(null): HEAD(0 bytes), Content-Type: null
</span><span class="cx"> HEAD(&quot;123&quot;): HEAD(0 bytes), Content-Type: null
</span><del>-WKFOOBAR(&quot;&quot;): WKFOOBAR(0 bytes), Content-Type: application/xml
</del><ins>+WKFOOBAR(&quot;&quot;): WKFOOBAR(0 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> WKFOOBAR(null): WKFOOBAR(0 bytes), Content-Type: null
</span><del>-WKFOOBAR(&quot;123&quot;): WKFOOBAR(3 bytes), Content-Type: application/xml
-SEARCH(&quot;&quot;): SEARCH(0 bytes), Content-Type: application/xml
</del><ins>+WKFOOBAR(&quot;123&quot;): WKFOOBAR(3 bytes), Content-Type: text/plain;charset=UTF-8
+SEARCH(&quot;&quot;): SEARCH(0 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> SEARCH(null): SEARCH(0 bytes), Content-Type: null
</span><del>-SEARCH(&quot;123&quot;): SEARCH(3 bytes), Content-Type: application/xml
</del><ins>+SEARCH(&quot;123&quot;): SEARCH(3 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> DONE
</span><span class="cx">Property changes on: trunk/LayoutTests/http/tests/xmlhttprequest/workers/shared-worker-methods-expected.txt
</span><span class="cx">___________________________________________________________________
</span></span></pre></div>
<a id="svnexecutable"></a>
<div class="addfile"><h4>Added: svn:executable</h4></div>
<a id="trunkLayoutTestsplatformeflhttptestsxmlhttprequestmethodsasyncexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/efl/http/tests/xmlhttprequest/methods-async-expected.txt (173253 => 173254)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/efl/http/tests/xmlhttprequest/methods-async-expected.txt        2014-09-04 06:46:42 UTC (rev 173253)
+++ trunk/LayoutTests/platform/efl/http/tests/xmlhttprequest/methods-async-expected.txt        2014-09-04 07:03:54 UTC (rev 173254)
</span><span class="lines">@@ -3,21 +3,21 @@
</span><span class="cx"> GET(&quot;&quot;): GET(null bytes), Content-Type: null
</span><span class="cx"> GET(null): GET(null bytes), Content-Type: null
</span><span class="cx"> GET(&quot;123&quot;): GET(null bytes), Content-Type: null
</span><del>-POST(&quot;&quot;): POST(0 bytes), Content-Type: application/xml
</del><ins>+POST(&quot;&quot;): POST(0 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> POST(null): POST(0 bytes), Content-Type: null
</span><del>-POST(&quot;123&quot;): POST(3 bytes), Content-Type: application/xml
-PUT(&quot;&quot;): PUT(0 bytes), Content-Type: application/xml
</del><ins>+POST(&quot;123&quot;): POST(3 bytes), Content-Type: text/plain;charset=UTF-8
+PUT(&quot;&quot;): PUT(0 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> PUT(null): PUT(0 bytes), Content-Type: null
</span><del>-PUT(&quot;123&quot;): PUT(3 bytes), Content-Type: application/xml
-DELETE(&quot;&quot;): DELETE(0 bytes), Content-Type: application/xml
</del><ins>+PUT(&quot;123&quot;): PUT(3 bytes), Content-Type: text/plain;charset=UTF-8
+DELETE(&quot;&quot;): DELETE(0 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> DELETE(null): DELETE(null bytes), Content-Type: null
</span><del>-DELETE(&quot;123&quot;): DELETE(3 bytes), Content-Type: application/xml
</del><ins>+DELETE(&quot;123&quot;): DELETE(3 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> HEAD(&quot;&quot;): HEAD(null bytes), Content-Type: null
</span><span class="cx"> HEAD(null): HEAD(null bytes), Content-Type: null
</span><span class="cx"> HEAD(&quot;123&quot;): HEAD(null bytes), Content-Type: null
</span><del>-WKFOOBAR(&quot;&quot;): WKFOOBAR(0 bytes), Content-Type: application/xml
</del><ins>+WKFOOBAR(&quot;&quot;): WKFOOBAR(0 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> WKFOOBAR(null): WKFOOBAR(null bytes), Content-Type: null
</span><del>-WKFOOBAR(&quot;123&quot;): WKFOOBAR(3 bytes), Content-Type: application/xml
-SEARCH(&quot;&quot;): SEARCH(0 bytes), Content-Type: application/xml
</del><ins>+WKFOOBAR(&quot;123&quot;): WKFOOBAR(3 bytes), Content-Type: text/plain;charset=UTF-8
+SEARCH(&quot;&quot;): SEARCH(0 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> SEARCH(null): SEARCH(null bytes), Content-Type: null
</span><del>-SEARCH(&quot;123&quot;): SEARCH(3 bytes), Content-Type: application/xml
</del><ins>+SEARCH(&quot;123&quot;): SEARCH(3 bytes), Content-Type: text/plain;charset=UTF-8
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformeflhttptestsxmlhttprequestmethodsexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/efl/http/tests/xmlhttprequest/methods-expected.txt (173253 => 173254)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/efl/http/tests/xmlhttprequest/methods-expected.txt        2014-09-04 06:46:42 UTC (rev 173253)
+++ trunk/LayoutTests/platform/efl/http/tests/xmlhttprequest/methods-expected.txt        2014-09-04 07:03:54 UTC (rev 173254)
</span><span class="lines">@@ -3,21 +3,21 @@
</span><span class="cx"> GET(&quot;&quot;): GET(null bytes), Content-Type: null
</span><span class="cx"> GET(null): GET(null bytes), Content-Type: null
</span><span class="cx"> GET(&quot;123&quot;): GET(null bytes), Content-Type: null
</span><del>-POST(&quot;&quot;): POST(0 bytes), Content-Type: application/xml
</del><ins>+POST(&quot;&quot;): POST(0 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> POST(null): POST(0 bytes), Content-Type: null
</span><del>-POST(&quot;123&quot;): POST(3 bytes), Content-Type: application/xml
-PUT(&quot;&quot;): PUT(0 bytes), Content-Type: application/xml
</del><ins>+POST(&quot;123&quot;): POST(3 bytes), Content-Type: text/plain;charset=UTF-8
+PUT(&quot;&quot;): PUT(0 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> PUT(null): PUT(0 bytes), Content-Type: null
</span><del>-PUT(&quot;123&quot;): PUT(3 bytes), Content-Type: application/xml
-DELETE(&quot;&quot;): DELETE(0 bytes), Content-Type: application/xml
</del><ins>+PUT(&quot;123&quot;): PUT(3 bytes), Content-Type: text/plain;charset=UTF-8
+DELETE(&quot;&quot;): DELETE(0 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> DELETE(null): DELETE(null bytes), Content-Type: null
</span><del>-DELETE(&quot;123&quot;): DELETE(3 bytes), Content-Type: application/xml
</del><ins>+DELETE(&quot;123&quot;): DELETE(3 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> HEAD(&quot;&quot;): HEAD(null bytes), Content-Type: null
</span><span class="cx"> HEAD(null): HEAD(null bytes), Content-Type: null
</span><span class="cx"> HEAD(&quot;123&quot;): HEAD(null bytes), Content-Type: null
</span><del>-WKFOOBAR(&quot;&quot;): WKFOOBAR(0 bytes), Content-Type: application/xml
</del><ins>+WKFOOBAR(&quot;&quot;): WKFOOBAR(0 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> WKFOOBAR(null): WKFOOBAR(null bytes), Content-Type: null
</span><del>-WKFOOBAR(&quot;123&quot;): WKFOOBAR(3 bytes), Content-Type: application/xml
-SEARCH(&quot;&quot;): SEARCH(0 bytes), Content-Type: application/xml
</del><ins>+WKFOOBAR(&quot;123&quot;): WKFOOBAR(3 bytes), Content-Type: text/plain;charset=UTF-8
+SEARCH(&quot;&quot;): SEARCH(0 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> SEARCH(null): SEARCH(null bytes), Content-Type: null
</span><del>-SEARCH(&quot;123&quot;): SEARCH(3 bytes), Content-Type: application/xml
</del><ins>+SEARCH(&quot;123&quot;): SEARCH(3 bytes), Content-Type: text/plain;charset=UTF-8
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformeflhttptestsxmlhttprequestworkersmethodsasyncexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/efl/http/tests/xmlhttprequest/workers/methods-async-expected.txt (173253 => 173254)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/efl/http/tests/xmlhttprequest/workers/methods-async-expected.txt        2014-09-04 06:46:42 UTC (rev 173253)
+++ trunk/LayoutTests/platform/efl/http/tests/xmlhttprequest/workers/methods-async-expected.txt        2014-09-04 07:03:54 UTC (rev 173254)
</span><span class="lines">@@ -3,22 +3,22 @@
</span><span class="cx"> GET(&quot;&quot;): GET(null bytes), Content-Type: null
</span><span class="cx"> GET(null): GET(null bytes), Content-Type: null
</span><span class="cx"> GET(&quot;123&quot;): GET(null bytes), Content-Type: null
</span><del>-POST(&quot;&quot;): POST(0 bytes), Content-Type: application/xml
</del><ins>+POST(&quot;&quot;): POST(0 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> POST(null): POST(0 bytes), Content-Type: null
</span><del>-POST(&quot;123&quot;): POST(3 bytes), Content-Type: application/xml
-PUT(&quot;&quot;): PUT(0 bytes), Content-Type: application/xml
</del><ins>+POST(&quot;123&quot;): POST(3 bytes), Content-Type: text/plain;charset=UTF-8
+PUT(&quot;&quot;): PUT(0 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> PUT(null): PUT(0 bytes), Content-Type: null
</span><del>-PUT(&quot;123&quot;): PUT(3 bytes), Content-Type: application/xml
-DELETE(&quot;&quot;): DELETE(0 bytes), Content-Type: application/xml
</del><ins>+PUT(&quot;123&quot;): PUT(3 bytes), Content-Type: text/plain;charset=UTF-8
+DELETE(&quot;&quot;): DELETE(0 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> DELETE(null): DELETE(null bytes), Content-Type: null
</span><del>-DELETE(&quot;123&quot;): DELETE(3 bytes), Content-Type: application/xml
</del><ins>+DELETE(&quot;123&quot;): DELETE(3 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> HEAD(&quot;&quot;): HEAD(null bytes), Content-Type: null
</span><span class="cx"> HEAD(null): HEAD(null bytes), Content-Type: null
</span><span class="cx"> HEAD(&quot;123&quot;): HEAD(null bytes), Content-Type: null
</span><del>-WKFOOBAR(&quot;&quot;): WKFOOBAR(0 bytes), Content-Type: application/xml
</del><ins>+WKFOOBAR(&quot;&quot;): WKFOOBAR(0 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> WKFOOBAR(null): WKFOOBAR(null bytes), Content-Type: null
</span><del>-WKFOOBAR(&quot;123&quot;): WKFOOBAR(3 bytes), Content-Type: application/xml
-SEARCH(&quot;&quot;): SEARCH(0 bytes), Content-Type: application/xml
</del><ins>+WKFOOBAR(&quot;123&quot;): WKFOOBAR(3 bytes), Content-Type: text/plain;charset=UTF-8
+SEARCH(&quot;&quot;): SEARCH(0 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> SEARCH(null): SEARCH(null bytes), Content-Type: null
</span><del>-SEARCH(&quot;123&quot;): SEARCH(3 bytes), Content-Type: application/xml
</del><ins>+SEARCH(&quot;123&quot;): SEARCH(3 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> DONE
</span></span></pre></div>
<a id="trunkLayoutTestsplatformeflhttptestsxmlhttprequestworkersmethodsexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/efl/http/tests/xmlhttprequest/workers/methods-expected.txt (173253 => 173254)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/efl/http/tests/xmlhttprequest/workers/methods-expected.txt        2014-09-04 06:46:42 UTC (rev 173253)
+++ trunk/LayoutTests/platform/efl/http/tests/xmlhttprequest/workers/methods-expected.txt        2014-09-04 07:03:54 UTC (rev 173254)
</span><span class="lines">@@ -3,22 +3,22 @@
</span><span class="cx"> GET(&quot;&quot;): GET(null bytes), Content-Type: null
</span><span class="cx"> GET(null): GET(null bytes), Content-Type: null
</span><span class="cx"> GET(&quot;123&quot;): GET(null bytes), Content-Type: null
</span><del>-POST(&quot;&quot;): POST(0 bytes), Content-Type: application/xml
</del><ins>+POST(&quot;&quot;): POST(0 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> POST(null): POST(0 bytes), Content-Type: null
</span><del>-POST(&quot;123&quot;): POST(3 bytes), Content-Type: application/xml
-PUT(&quot;&quot;): PUT(0 bytes), Content-Type: application/xml
</del><ins>+POST(&quot;123&quot;): POST(3 bytes), Content-Type: text/plain;charset=UTF-8
+PUT(&quot;&quot;): PUT(0 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> PUT(null): PUT(0 bytes), Content-Type: null
</span><del>-PUT(&quot;123&quot;): PUT(3 bytes), Content-Type: application/xml
-DELETE(&quot;&quot;): DELETE(0 bytes), Content-Type: application/xml
</del><ins>+PUT(&quot;123&quot;): PUT(3 bytes), Content-Type: text/plain;charset=UTF-8
+DELETE(&quot;&quot;): DELETE(0 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> DELETE(null): DELETE(null bytes), Content-Type: null
</span><del>-DELETE(&quot;123&quot;): DELETE(3 bytes), Content-Type: application/xml
</del><ins>+DELETE(&quot;123&quot;): DELETE(3 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> HEAD(&quot;&quot;): HEAD(null bytes), Content-Type: null
</span><span class="cx"> HEAD(null): HEAD(null bytes), Content-Type: null
</span><span class="cx"> HEAD(&quot;123&quot;): HEAD(null bytes), Content-Type: null
</span><del>-WKFOOBAR(&quot;&quot;): WKFOOBAR(0 bytes), Content-Type: application/xml
</del><ins>+WKFOOBAR(&quot;&quot;): WKFOOBAR(0 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> WKFOOBAR(null): WKFOOBAR(null bytes), Content-Type: null
</span><del>-WKFOOBAR(&quot;123&quot;): WKFOOBAR(3 bytes), Content-Type: application/xml
-SEARCH(&quot;&quot;): SEARCH(0 bytes), Content-Type: application/xml
</del><ins>+WKFOOBAR(&quot;123&quot;): WKFOOBAR(3 bytes), Content-Type: text/plain;charset=UTF-8
+SEARCH(&quot;&quot;): SEARCH(0 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> SEARCH(null): SEARCH(null bytes), Content-Type: null
</span><del>-SEARCH(&quot;123&quot;): SEARCH(3 bytes), Content-Type: application/xml
</del><ins>+SEARCH(&quot;123&quot;): SEARCH(3 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> DONE
</span></span></pre></div>
<a id="trunkLayoutTestsplatformeflhttptestsxmlhttprequestworkerssharedworkermethodsasyncexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/efl/http/tests/xmlhttprequest/workers/shared-worker-methods-async-expected.txt (173253 => 173254)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/efl/http/tests/xmlhttprequest/workers/shared-worker-methods-async-expected.txt        2014-09-04 06:46:42 UTC (rev 173253)
+++ trunk/LayoutTests/platform/efl/http/tests/xmlhttprequest/workers/shared-worker-methods-async-expected.txt        2014-09-04 07:03:54 UTC (rev 173254)
</span><span class="lines">@@ -3,22 +3,22 @@
</span><span class="cx"> GET(&quot;&quot;): GET(null bytes), Content-Type: null
</span><span class="cx"> GET(null): GET(null bytes), Content-Type: null
</span><span class="cx"> GET(&quot;123&quot;): GET(null bytes), Content-Type: null
</span><del>-POST(&quot;&quot;): POST(0 bytes), Content-Type: application/xml
</del><ins>+POST(&quot;&quot;): POST(0 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> POST(null): POST(0 bytes), Content-Type: null
</span><del>-POST(&quot;123&quot;): POST(3 bytes), Content-Type: application/xml
-PUT(&quot;&quot;): PUT(0 bytes), Content-Type: application/xml
</del><ins>+POST(&quot;123&quot;): POST(3 bytes), Content-Type: text/plain;charset=UTF-8
+PUT(&quot;&quot;): PUT(0 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> PUT(null): PUT(0 bytes), Content-Type: null
</span><del>-PUT(&quot;123&quot;): PUT(3 bytes), Content-Type: application/xml
-DELETE(&quot;&quot;): DELETE(0 bytes), Content-Type: application/xml
</del><ins>+PUT(&quot;123&quot;): PUT(3 bytes), Content-Type: text/plain;charset=UTF-8
+DELETE(&quot;&quot;): DELETE(0 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> DELETE(null): DELETE(null bytes), Content-Type: null
</span><del>-DELETE(&quot;123&quot;): DELETE(3 bytes), Content-Type: application/xml
</del><ins>+DELETE(&quot;123&quot;): DELETE(3 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> HEAD(&quot;&quot;): HEAD(null bytes), Content-Type: null
</span><span class="cx"> HEAD(null): HEAD(null bytes), Content-Type: null
</span><span class="cx"> HEAD(&quot;123&quot;): HEAD(null bytes), Content-Type: null
</span><del>-WKFOOBAR(&quot;&quot;): WKFOOBAR(0 bytes), Content-Type: application/xml
</del><ins>+WKFOOBAR(&quot;&quot;): WKFOOBAR(0 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> WKFOOBAR(null): WKFOOBAR(null bytes), Content-Type: null
</span><del>-WKFOOBAR(&quot;123&quot;): WKFOOBAR(3 bytes), Content-Type: application/xml
-SEARCH(&quot;&quot;): SEARCH(0 bytes), Content-Type: application/xml
</del><ins>+WKFOOBAR(&quot;123&quot;): WKFOOBAR(3 bytes), Content-Type: text/plain;charset=UTF-8
+SEARCH(&quot;&quot;): SEARCH(0 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> SEARCH(null): SEARCH(null bytes), Content-Type: null
</span><del>-SEARCH(&quot;123&quot;): SEARCH(3 bytes), Content-Type: application/xml
</del><ins>+SEARCH(&quot;123&quot;): SEARCH(3 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> DONE
</span></span></pre></div>
<a id="trunkLayoutTestsplatformeflhttptestsxmlhttprequestworkerssharedworkermethodsexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/efl/http/tests/xmlhttprequest/workers/shared-worker-methods-expected.txt (173253 => 173254)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/efl/http/tests/xmlhttprequest/workers/shared-worker-methods-expected.txt        2014-09-04 06:46:42 UTC (rev 173253)
+++ trunk/LayoutTests/platform/efl/http/tests/xmlhttprequest/workers/shared-worker-methods-expected.txt        2014-09-04 07:03:54 UTC (rev 173254)
</span><span class="lines">@@ -3,22 +3,22 @@
</span><span class="cx"> GET(&quot;&quot;): GET(null bytes), Content-Type: null
</span><span class="cx"> GET(null): GET(null bytes), Content-Type: null
</span><span class="cx"> GET(&quot;123&quot;): GET(null bytes), Content-Type: null
</span><del>-POST(&quot;&quot;): POST(0 bytes), Content-Type: application/xml
</del><ins>+POST(&quot;&quot;): POST(0 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> POST(null): POST(0 bytes), Content-Type: null
</span><del>-POST(&quot;123&quot;): POST(3 bytes), Content-Type: application/xml
-PUT(&quot;&quot;): PUT(0 bytes), Content-Type: application/xml
</del><ins>+POST(&quot;123&quot;): POST(3 bytes), Content-Type: text/plain;charset=UTF-8
+PUT(&quot;&quot;): PUT(0 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> PUT(null): PUT(0 bytes), Content-Type: null
</span><del>-PUT(&quot;123&quot;): PUT(3 bytes), Content-Type: application/xml
-DELETE(&quot;&quot;): DELETE(0 bytes), Content-Type: application/xml
</del><ins>+PUT(&quot;123&quot;): PUT(3 bytes), Content-Type: text/plain;charset=UTF-8
+DELETE(&quot;&quot;): DELETE(0 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> DELETE(null): DELETE(null bytes), Content-Type: null
</span><del>-DELETE(&quot;123&quot;): DELETE(3 bytes), Content-Type: application/xml
</del><ins>+DELETE(&quot;123&quot;): DELETE(3 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> HEAD(&quot;&quot;): HEAD(null bytes), Content-Type: null
</span><span class="cx"> HEAD(null): HEAD(null bytes), Content-Type: null
</span><span class="cx"> HEAD(&quot;123&quot;): HEAD(null bytes), Content-Type: null
</span><del>-WKFOOBAR(&quot;&quot;): WKFOOBAR(0 bytes), Content-Type: application/xml
</del><ins>+WKFOOBAR(&quot;&quot;): WKFOOBAR(0 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> WKFOOBAR(null): WKFOOBAR(null bytes), Content-Type: null
</span><del>-WKFOOBAR(&quot;123&quot;): WKFOOBAR(3 bytes), Content-Type: application/xml
-SEARCH(&quot;&quot;): SEARCH(0 bytes), Content-Type: application/xml
</del><ins>+WKFOOBAR(&quot;123&quot;): WKFOOBAR(3 bytes), Content-Type: text/plain;charset=UTF-8
+SEARCH(&quot;&quot;): SEARCH(0 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> SEARCH(null): SEARCH(null bytes), Content-Type: null
</span><del>-SEARCH(&quot;123&quot;): SEARCH(3 bytes), Content-Type: application/xml
</del><ins>+SEARCH(&quot;123&quot;): SEARCH(3 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> DONE
</span></span></pre></div>
<a id="trunkLayoutTestsplatformgtkhttptestsxmlhttprequestmethodsasyncexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/gtk/http/tests/xmlhttprequest/methods-async-expected.txt (173253 => 173254)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/gtk/http/tests/xmlhttprequest/methods-async-expected.txt        2014-09-04 06:46:42 UTC (rev 173253)
+++ trunk/LayoutTests/platform/gtk/http/tests/xmlhttprequest/methods-async-expected.txt        2014-09-04 07:03:54 UTC (rev 173254)
</span><span class="lines">@@ -3,21 +3,21 @@
</span><span class="cx"> GET(&quot;&quot;): GET(null bytes), Content-Type: null
</span><span class="cx"> GET(null): GET(null bytes), Content-Type: null
</span><span class="cx"> GET(&quot;123&quot;): GET(null bytes), Content-Type: null
</span><del>-POST(&quot;&quot;): POST(0 bytes), Content-Type: application/xml
</del><ins>+POST(&quot;&quot;): POST(0 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> POST(null): POST(0 bytes), Content-Type: null
</span><del>-POST(&quot;123&quot;): POST(3 bytes), Content-Type: application/xml
-PUT(&quot;&quot;): PUT(0 bytes), Content-Type: application/xml
</del><ins>+POST(&quot;123&quot;): POST(3 bytes), Content-Type: text/plain;charset=UTF-8
+PUT(&quot;&quot;): PUT(0 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> PUT(null): PUT(0 bytes), Content-Type: null
</span><del>-PUT(&quot;123&quot;): PUT(3 bytes), Content-Type: application/xml
-DELETE(&quot;&quot;): DELETE(0 bytes), Content-Type: application/xml
</del><ins>+PUT(&quot;123&quot;): PUT(3 bytes), Content-Type: text/plain;charset=UTF-8
+DELETE(&quot;&quot;): DELETE(0 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> DELETE(null): DELETE(null bytes), Content-Type: null
</span><del>-DELETE(&quot;123&quot;): DELETE(3 bytes), Content-Type: application/xml
</del><ins>+DELETE(&quot;123&quot;): DELETE(3 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> HEAD(&quot;&quot;): HEAD(null bytes), Content-Type: null
</span><span class="cx"> HEAD(null): HEAD(null bytes), Content-Type: null
</span><span class="cx"> HEAD(&quot;123&quot;): HEAD(null bytes), Content-Type: null
</span><del>-WKFOOBAR(&quot;&quot;): WKFOOBAR(0 bytes), Content-Type: application/xml
</del><ins>+WKFOOBAR(&quot;&quot;): WKFOOBAR(0 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> WKFOOBAR(null): WKFOOBAR(null bytes), Content-Type: null
</span><del>-WKFOOBAR(&quot;123&quot;): WKFOOBAR(3 bytes), Content-Type: application/xml
-SEARCH(&quot;&quot;): SEARCH(0 bytes), Content-Type: application/xml
</del><ins>+WKFOOBAR(&quot;123&quot;): WKFOOBAR(3 bytes), Content-Type: text/plain;charset=UTF-8
+SEARCH(&quot;&quot;): SEARCH(0 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> SEARCH(null): SEARCH(null bytes), Content-Type: null
</span><del>-SEARCH(&quot;123&quot;): SEARCH(3 bytes), Content-Type: application/xml
</del><ins>+SEARCH(&quot;123&quot;): SEARCH(3 bytes), Content-Type: text/plain;charset=UTF-8
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformgtkhttptestsxmlhttprequestmethodsexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/gtk/http/tests/xmlhttprequest/methods-expected.txt (173253 => 173254)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/gtk/http/tests/xmlhttprequest/methods-expected.txt        2014-09-04 06:46:42 UTC (rev 173253)
+++ trunk/LayoutTests/platform/gtk/http/tests/xmlhttprequest/methods-expected.txt        2014-09-04 07:03:54 UTC (rev 173254)
</span><span class="lines">@@ -3,21 +3,21 @@
</span><span class="cx"> GET(&quot;&quot;): GET(null bytes), Content-Type: null
</span><span class="cx"> GET(null): GET(null bytes), Content-Type: null
</span><span class="cx"> GET(&quot;123&quot;): GET(null bytes), Content-Type: null
</span><del>-POST(&quot;&quot;): POST(0 bytes), Content-Type: application/xml
</del><ins>+POST(&quot;&quot;): POST(0 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> POST(null): POST(0 bytes), Content-Type: null
</span><del>-POST(&quot;123&quot;): POST(3 bytes), Content-Type: application/xml
-PUT(&quot;&quot;): PUT(0 bytes), Content-Type: application/xml
</del><ins>+POST(&quot;123&quot;): POST(3 bytes), Content-Type: text/plain;charset=UTF-8
+PUT(&quot;&quot;): PUT(0 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> PUT(null): PUT(0 bytes), Content-Type: null
</span><del>-PUT(&quot;123&quot;): PUT(3 bytes), Content-Type: application/xml
-DELETE(&quot;&quot;): DELETE(0 bytes), Content-Type: application/xml
</del><ins>+PUT(&quot;123&quot;): PUT(3 bytes), Content-Type: text/plain;charset=UTF-8
+DELETE(&quot;&quot;): DELETE(0 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> DELETE(null): DELETE(null bytes), Content-Type: null
</span><del>-DELETE(&quot;123&quot;): DELETE(3 bytes), Content-Type: application/xml
</del><ins>+DELETE(&quot;123&quot;): DELETE(3 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> HEAD(&quot;&quot;): HEAD(null bytes), Content-Type: null
</span><span class="cx"> HEAD(null): HEAD(null bytes), Content-Type: null
</span><span class="cx"> HEAD(&quot;123&quot;): HEAD(null bytes), Content-Type: null
</span><del>-WKFOOBAR(&quot;&quot;): WKFOOBAR(0 bytes), Content-Type: application/xml
</del><ins>+WKFOOBAR(&quot;&quot;): WKFOOBAR(0 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> WKFOOBAR(null): WKFOOBAR(null bytes), Content-Type: null
</span><del>-WKFOOBAR(&quot;123&quot;): WKFOOBAR(3 bytes), Content-Type: application/xml
-SEARCH(&quot;&quot;): SEARCH(0 bytes), Content-Type: application/xml
</del><ins>+WKFOOBAR(&quot;123&quot;): WKFOOBAR(3 bytes), Content-Type: text/plain;charset=UTF-8
+SEARCH(&quot;&quot;): SEARCH(0 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> SEARCH(null): SEARCH(null bytes), Content-Type: null
</span><del>-SEARCH(&quot;123&quot;): SEARCH(3 bytes), Content-Type: application/xml
</del><ins>+SEARCH(&quot;123&quot;): SEARCH(3 bytes), Content-Type: text/plain;charset=UTF-8
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformgtkhttptestsxmlhttprequestworkersmethodsasyncexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/gtk/http/tests/xmlhttprequest/workers/methods-async-expected.txt (173253 => 173254)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/gtk/http/tests/xmlhttprequest/workers/methods-async-expected.txt        2014-09-04 06:46:42 UTC (rev 173253)
+++ trunk/LayoutTests/platform/gtk/http/tests/xmlhttprequest/workers/methods-async-expected.txt        2014-09-04 07:03:54 UTC (rev 173254)
</span><span class="lines">@@ -3,22 +3,22 @@
</span><span class="cx"> GET(&quot;&quot;): GET(null bytes), Content-Type: null
</span><span class="cx"> GET(null): GET(null bytes), Content-Type: null
</span><span class="cx"> GET(&quot;123&quot;): GET(null bytes), Content-Type: null
</span><del>-POST(&quot;&quot;): POST(0 bytes), Content-Type: application/xml
</del><ins>+POST(&quot;&quot;): POST(0 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> POST(null): POST(0 bytes), Content-Type: null
</span><del>-POST(&quot;123&quot;): POST(3 bytes), Content-Type: application/xml
-PUT(&quot;&quot;): PUT(0 bytes), Content-Type: application/xml
</del><ins>+POST(&quot;123&quot;): POST(3 bytes), Content-Type: text/plain;charset=UTF-8
+PUT(&quot;&quot;): PUT(0 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> PUT(null): PUT(0 bytes), Content-Type: null
</span><del>-PUT(&quot;123&quot;): PUT(3 bytes), Content-Type: application/xml
-DELETE(&quot;&quot;): DELETE(0 bytes), Content-Type: application/xml
</del><ins>+PUT(&quot;123&quot;): PUT(3 bytes), Content-Type: text/plain;charset=UTF-8
+DELETE(&quot;&quot;): DELETE(0 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> DELETE(null): DELETE(null bytes), Content-Type: null
</span><del>-DELETE(&quot;123&quot;): DELETE(3 bytes), Content-Type: application/xml
</del><ins>+DELETE(&quot;123&quot;): DELETE(3 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> HEAD(&quot;&quot;): HEAD(null bytes), Content-Type: null
</span><span class="cx"> HEAD(null): HEAD(null bytes), Content-Type: null
</span><span class="cx"> HEAD(&quot;123&quot;): HEAD(null bytes), Content-Type: null
</span><del>-WKFOOBAR(&quot;&quot;): WKFOOBAR(0 bytes), Content-Type: application/xml
</del><ins>+WKFOOBAR(&quot;&quot;): WKFOOBAR(0 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> WKFOOBAR(null): WKFOOBAR(null bytes), Content-Type: null
</span><del>-WKFOOBAR(&quot;123&quot;): WKFOOBAR(3 bytes), Content-Type: application/xml
-SEARCH(&quot;&quot;): SEARCH(0 bytes), Content-Type: application/xml
</del><ins>+WKFOOBAR(&quot;123&quot;): WKFOOBAR(3 bytes), Content-Type: text/plain;charset=UTF-8
+SEARCH(&quot;&quot;): SEARCH(0 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> SEARCH(null): SEARCH(null bytes), Content-Type: null
</span><del>-SEARCH(&quot;123&quot;): SEARCH(3 bytes), Content-Type: application/xml
</del><ins>+SEARCH(&quot;123&quot;): SEARCH(3 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> DONE
</span></span></pre></div>
<a id="trunkLayoutTestsplatformgtkhttptestsxmlhttprequestworkersmethodsexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/gtk/http/tests/xmlhttprequest/workers/methods-expected.txt (173253 => 173254)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/gtk/http/tests/xmlhttprequest/workers/methods-expected.txt        2014-09-04 06:46:42 UTC (rev 173253)
+++ trunk/LayoutTests/platform/gtk/http/tests/xmlhttprequest/workers/methods-expected.txt        2014-09-04 07:03:54 UTC (rev 173254)
</span><span class="lines">@@ -3,22 +3,22 @@
</span><span class="cx"> GET(&quot;&quot;): GET(null bytes), Content-Type: null
</span><span class="cx"> GET(null): GET(null bytes), Content-Type: null
</span><span class="cx"> GET(&quot;123&quot;): GET(null bytes), Content-Type: null
</span><del>-POST(&quot;&quot;): POST(0 bytes), Content-Type: application/xml
</del><ins>+POST(&quot;&quot;): POST(0 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> POST(null): POST(0 bytes), Content-Type: null
</span><del>-POST(&quot;123&quot;): POST(3 bytes), Content-Type: application/xml
-PUT(&quot;&quot;): PUT(0 bytes), Content-Type: application/xml
</del><ins>+POST(&quot;123&quot;): POST(3 bytes), Content-Type: text/plain;charset=UTF-8
+PUT(&quot;&quot;): PUT(0 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> PUT(null): PUT(0 bytes), Content-Type: null
</span><del>-PUT(&quot;123&quot;): PUT(3 bytes), Content-Type: application/xml
-DELETE(&quot;&quot;): DELETE(0 bytes), Content-Type: application/xml
</del><ins>+PUT(&quot;123&quot;): PUT(3 bytes), Content-Type: text/plain;charset=UTF-8
+DELETE(&quot;&quot;): DELETE(0 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> DELETE(null): DELETE(null bytes), Content-Type: null
</span><del>-DELETE(&quot;123&quot;): DELETE(3 bytes), Content-Type: application/xml
</del><ins>+DELETE(&quot;123&quot;): DELETE(3 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> HEAD(&quot;&quot;): HEAD(null bytes), Content-Type: null
</span><span class="cx"> HEAD(null): HEAD(null bytes), Content-Type: null
</span><span class="cx"> HEAD(&quot;123&quot;): HEAD(null bytes), Content-Type: null
</span><del>-WKFOOBAR(&quot;&quot;): WKFOOBAR(0 bytes), Content-Type: application/xml
</del><ins>+WKFOOBAR(&quot;&quot;): WKFOOBAR(0 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> WKFOOBAR(null): WKFOOBAR(null bytes), Content-Type: null
</span><del>-WKFOOBAR(&quot;123&quot;): WKFOOBAR(3 bytes), Content-Type: application/xml
-SEARCH(&quot;&quot;): SEARCH(0 bytes), Content-Type: application/xml
</del><ins>+WKFOOBAR(&quot;123&quot;): WKFOOBAR(3 bytes), Content-Type: text/plain;charset=UTF-8
+SEARCH(&quot;&quot;): SEARCH(0 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> SEARCH(null): SEARCH(null bytes), Content-Type: null
</span><del>-SEARCH(&quot;123&quot;): SEARCH(3 bytes), Content-Type: application/xml
</del><ins>+SEARCH(&quot;123&quot;): SEARCH(3 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> DONE
</span></span></pre></div>
<a id="trunkLayoutTestsplatformgtkhttptestsxmlhttprequestworkerssharedworkermethodsasyncexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/gtk/http/tests/xmlhttprequest/workers/shared-worker-methods-async-expected.txt (173253 => 173254)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/gtk/http/tests/xmlhttprequest/workers/shared-worker-methods-async-expected.txt        2014-09-04 06:46:42 UTC (rev 173253)
+++ trunk/LayoutTests/platform/gtk/http/tests/xmlhttprequest/workers/shared-worker-methods-async-expected.txt        2014-09-04 07:03:54 UTC (rev 173254)
</span><span class="lines">@@ -3,22 +3,22 @@
</span><span class="cx"> GET(&quot;&quot;): GET(null bytes), Content-Type: null
</span><span class="cx"> GET(null): GET(null bytes), Content-Type: null
</span><span class="cx"> GET(&quot;123&quot;): GET(null bytes), Content-Type: null
</span><del>-POST(&quot;&quot;): POST(0 bytes), Content-Type: application/xml
</del><ins>+POST(&quot;&quot;): POST(0 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> POST(null): POST(0 bytes), Content-Type: null
</span><del>-POST(&quot;123&quot;): POST(3 bytes), Content-Type: application/xml
-PUT(&quot;&quot;): PUT(0 bytes), Content-Type: application/xml
</del><ins>+POST(&quot;123&quot;): POST(3 bytes), Content-Type: text/plain;charset=UTF-8
+PUT(&quot;&quot;): PUT(0 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> PUT(null): PUT(0 bytes), Content-Type: null
</span><del>-PUT(&quot;123&quot;): PUT(3 bytes), Content-Type: application/xml
-DELETE(&quot;&quot;): DELETE(0 bytes), Content-Type: application/xml
</del><ins>+PUT(&quot;123&quot;): PUT(3 bytes), Content-Type: text/plain;charset=UTF-8
+DELETE(&quot;&quot;): DELETE(0 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> DELETE(null): DELETE(null bytes), Content-Type: null
</span><del>-DELETE(&quot;123&quot;): DELETE(3 bytes), Content-Type: application/xml
</del><ins>+DELETE(&quot;123&quot;): DELETE(3 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> HEAD(&quot;&quot;): HEAD(null bytes), Content-Type: null
</span><span class="cx"> HEAD(null): HEAD(null bytes), Content-Type: null
</span><span class="cx"> HEAD(&quot;123&quot;): HEAD(null bytes), Content-Type: null
</span><del>-WKFOOBAR(&quot;&quot;): WKFOOBAR(0 bytes), Content-Type: application/xml
</del><ins>+WKFOOBAR(&quot;&quot;): WKFOOBAR(0 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> WKFOOBAR(null): WKFOOBAR(null bytes), Content-Type: null
</span><del>-WKFOOBAR(&quot;123&quot;): WKFOOBAR(3 bytes), Content-Type: application/xml
-SEARCH(&quot;&quot;): SEARCH(0 bytes), Content-Type: application/xml
</del><ins>+WKFOOBAR(&quot;123&quot;): WKFOOBAR(3 bytes), Content-Type: text/plain;charset=UTF-8
+SEARCH(&quot;&quot;): SEARCH(0 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> SEARCH(null): SEARCH(null bytes), Content-Type: null
</span><del>-SEARCH(&quot;123&quot;): SEARCH(3 bytes), Content-Type: application/xml
</del><ins>+SEARCH(&quot;123&quot;): SEARCH(3 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> DONE
</span></span></pre></div>
<a id="trunkLayoutTestsplatformgtkhttptestsxmlhttprequestworkerssharedworkermethodsexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/gtk/http/tests/xmlhttprequest/workers/shared-worker-methods-expected.txt (173253 => 173254)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/gtk/http/tests/xmlhttprequest/workers/shared-worker-methods-expected.txt        2014-09-04 06:46:42 UTC (rev 173253)
+++ trunk/LayoutTests/platform/gtk/http/tests/xmlhttprequest/workers/shared-worker-methods-expected.txt        2014-09-04 07:03:54 UTC (rev 173254)
</span><span class="lines">@@ -3,22 +3,22 @@
</span><span class="cx"> GET(&quot;&quot;): GET(null bytes), Content-Type: null
</span><span class="cx"> GET(null): GET(null bytes), Content-Type: null
</span><span class="cx"> GET(&quot;123&quot;): GET(null bytes), Content-Type: null
</span><del>-POST(&quot;&quot;): POST(0 bytes), Content-Type: application/xml
</del><ins>+POST(&quot;&quot;): POST(0 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> POST(null): POST(0 bytes), Content-Type: null
</span><del>-POST(&quot;123&quot;): POST(3 bytes), Content-Type: application/xml
-PUT(&quot;&quot;): PUT(0 bytes), Content-Type: application/xml
</del><ins>+POST(&quot;123&quot;): POST(3 bytes), Content-Type: text/plain;charset=UTF-8
+PUT(&quot;&quot;): PUT(0 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> PUT(null): PUT(0 bytes), Content-Type: null
</span><del>-PUT(&quot;123&quot;): PUT(3 bytes), Content-Type: application/xml
-DELETE(&quot;&quot;): DELETE(0 bytes), Content-Type: application/xml
</del><ins>+PUT(&quot;123&quot;): PUT(3 bytes), Content-Type: text/plain;charset=UTF-8
+DELETE(&quot;&quot;): DELETE(0 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> DELETE(null): DELETE(null bytes), Content-Type: null
</span><del>-DELETE(&quot;123&quot;): DELETE(3 bytes), Content-Type: application/xml
</del><ins>+DELETE(&quot;123&quot;): DELETE(3 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> HEAD(&quot;&quot;): HEAD(null bytes), Content-Type: null
</span><span class="cx"> HEAD(null): HEAD(null bytes), Content-Type: null
</span><span class="cx"> HEAD(&quot;123&quot;): HEAD(null bytes), Content-Type: null
</span><del>-WKFOOBAR(&quot;&quot;): WKFOOBAR(0 bytes), Content-Type: application/xml
</del><ins>+WKFOOBAR(&quot;&quot;): WKFOOBAR(0 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> WKFOOBAR(null): WKFOOBAR(null bytes), Content-Type: null
</span><del>-WKFOOBAR(&quot;123&quot;): WKFOOBAR(3 bytes), Content-Type: application/xml
-SEARCH(&quot;&quot;): SEARCH(0 bytes), Content-Type: application/xml
</del><ins>+WKFOOBAR(&quot;123&quot;): WKFOOBAR(3 bytes), Content-Type: text/plain;charset=UTF-8
+SEARCH(&quot;&quot;): SEARCH(0 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> SEARCH(null): SEARCH(null bytes), Content-Type: null
</span><del>-SEARCH(&quot;123&quot;): SEARCH(3 bytes), Content-Type: application/xml
</del><ins>+SEARCH(&quot;123&quot;): SEARCH(3 bytes), Content-Type: text/plain;charset=UTF-8
</ins><span class="cx"> DONE
</span></span></pre></div>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (173253 => 173254)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2014-09-04 06:46:42 UTC (rev 173253)
+++ trunk/Source/WebCore/ChangeLog        2014-09-04 07:03:54 UTC (rev 173254)
</span><span class="lines">@@ -1,3 +1,18 @@
</span><ins>+2014-09-03  Youenn Fablet  &lt;youenn.fablet@crf.canon.fr&gt;
+
+        XMLHttpRequest always defaults Content-Type to application/xml, while it should depend on data type
+        https://bugs.webkit.org/show_bug.cgi?id=11049
+
+        Reviewed by Darin Adler.
+
+        Updated default mime type when sending text (changed from application/xml to text/plain;charset=UTF-8)
+        Updated default mime type when sending document (set to application/xml;charset=UTF-8 for XML documents and text/html;charset=UTF-8 for HTML documents)
+
+        Test: http/tests/xmlhttprequest/post-content-type-document.html
+
+        * xml/XMLHttpRequest.cpp:
+        (WebCore::XMLHttpRequest::send): updating default Content-Type valuess.
+
</ins><span class="cx"> 2014-09-02  Brian J. Burg  &lt;burg@cs.washington.edu&gt;
</span><span class="cx"> 
</span><span class="cx">         Web Inspector: fix prefixes for subclasses of JSC::ConsoleClient
</span></span></pre></div>
<a id="trunkSourceWebCorexmlXMLHttpRequestcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/xml/XMLHttpRequest.cpp (173253 => 173254)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/xml/XMLHttpRequest.cpp        2014-09-04 06:46:42 UTC (rev 173253)
+++ trunk/Source/WebCore/xml/XMLHttpRequest.cpp        2014-09-04 07:03:54 UTC (rev 173254)
</span><span class="lines">@@ -593,16 +593,14 @@
</span><span class="cx">             else
</span><span class="cx"> #endif
</span><span class="cx">                 // FIXME: this should include the charset used for encoding.
</span><del>-                setRequestHeaderInternal(&quot;Content-Type&quot;, &quot;application/xml&quot;);
</del><ins>+                setRequestHeaderInternal(&quot;Content-Type&quot;, document-&gt;isHTMLDocument() ? &quot;text/html;charset=UTF-8&quot;:&quot;application/xml;charset=UTF-8&quot;);
</ins><span class="cx">         }
</span><span class="cx"> 
</span><span class="cx">         // FIXME: According to XMLHttpRequest Level 2, this should use the Document.innerHTML algorithm
</span><span class="cx">         // from the HTML5 specification to serialize the document.
</span><span class="cx">         String body = createMarkup(*document);
</span><span class="cx"> 
</span><del>-        // FIXME: this should use value of document.inputEncoding to determine the encoding to use.
-        TextEncoding encoding = UTF8Encoding();
-        m_requestEntityBody = FormData::create(encoding.encode(body, EntitiesForUnencodables));
</del><ins>+        m_requestEntityBody = FormData::create(UTF8Encoding().encode(body, EntitiesForUnencodables));
</ins><span class="cx">         if (m_upload)
</span><span class="cx">             m_requestEntityBody-&gt;setAlwaysStream(true);
</span><span class="cx">     }
</span><span class="lines">@@ -623,7 +621,7 @@
</span><span class="cx">                 setRequestHeaderInternal(&quot;Content-Type&quot;, &quot;application/x-www-form-urlencoded&quot;);
</span><span class="cx">             else
</span><span class="cx"> #endif
</span><del>-                setRequestHeaderInternal(&quot;Content-Type&quot;, &quot;application/xml&quot;);
</del><ins>+                setRequestHeaderInternal(&quot;Content-Type&quot;, &quot;text/plain;charset=UTF-8&quot;);
</ins><span class="cx">         } else {
</span><span class="cx">             replaceCharsetInMediaType(contentType, &quot;UTF-8&quot;);
</span><span class="cx">             m_requestHeaders.set(HTTPHeaderName::ContentType, contentType);
</span></span></pre>
</div>
</div>

</body>
</html>