Commit 6694a30a authored by aroben@apple.com's avatar aroben@apple.com

Stop setting unsafe headers on POSTs via XHR from TestFailures page

Fixes <http://webkit.org/b/63833> TestFailures page causes a bunch of spew in the
Inspector's console about unsafe headers

Reviewed by Dan Bates.

* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Utilities.js:
(fetchResource): Removed unnecessary code to set Content-Length and Connection headers.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@90264 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 5a6a1969
......@@ -60,8 +60,6 @@ function fetchResource(url, method, queryParameters, callback, errorCallback) {
var data = urlEncodeQueryParameters(queryParameters);
xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
xhr.setRequestHeader('Content-Length', data.length);
xhr.setRequestHeader('Connection', 'close');
xhr.send(data);
}
......
2011-07-01 Adam Roben <aroben@apple.com>
Stop setting unsafe headers on POSTs via XHR from TestFailures page
Fixes <http://webkit.org/b/63833> TestFailures page causes a bunch of spew in the
Inspector's console about unsafe headers
Reviewed by Dan Bates.
* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Utilities.js:
(fetchResource): Removed unnecessary code to set Content-Length and Connection headers.
2011-07-01 Eric Seidel <eric@webkit.org>
Reviewed by Adam Barth.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment