Title: [90264] trunk/Tools
Revision
90264
Author
[email protected]
Date
2011-07-01 12:39:57 -0700 (Fri, 01 Jul 2011)

Log Message

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.

Modified Paths

Diff

Modified: trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Utilities.js (90263 => 90264)


--- trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Utilities.js	2011-07-01 19:36:16 UTC (rev 90263)
+++ trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Utilities.js	2011-07-01 19:39:57 UTC (rev 90264)
@@ -60,8 +60,6 @@
 
     var data = ""
     xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
-    xhr.setRequestHeader('Content-Length', data.length);
-    xhr.setRequestHeader('Connection', 'close');
     xhr.send(data);
 }
 

Modified: trunk/Tools/ChangeLog (90263 => 90264)


--- trunk/Tools/ChangeLog	2011-07-01 19:36:16 UTC (rev 90263)
+++ trunk/Tools/ChangeLog	2011-07-01 19:39:57 UTC (rev 90264)
@@ -1,3 +1,15 @@
+2011-07-01  Adam Roben  <[email protected]>
+
+        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  <[email protected]>
 
         Reviewed by Adam Barth.
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to