Title: [128192] trunk
Revision
128192
Author
[email protected]
Date
2012-09-11 08:42:19 -0700 (Tue, 11 Sep 2012)

Log Message

Unreviewed, rolling out r128175.
http://trac.webkit.org/changeset/128175
https://bugs.webkit.org/show_bug.cgi?id=96395

broke hunders of tests for EFL and GTK (Requested by rakuco on
#webkit).

Patch by Sheriff Bot <[email protected]> on 2012-09-11

Source/WebCore:

* platform/network/soup/ResourceResponseSoup.cpp:
(WebCore::ResourceResponse::updateFromSoupMessage):

LayoutTests:

* http/tests/misc/non-utf8-header-name-expected.txt: Removed.
* http/tests/misc/non-utf8-header-name.php: Removed.

Modified Paths

Removed Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (128191 => 128192)


--- trunk/LayoutTests/ChangeLog	2012-09-11 15:33:04 UTC (rev 128191)
+++ trunk/LayoutTests/ChangeLog	2012-09-11 15:42:19 UTC (rev 128192)
@@ -1,3 +1,15 @@
+2012-09-11  Sheriff Bot  <[email protected]>
+
+        Unreviewed, rolling out r128175.
+        http://trac.webkit.org/changeset/128175
+        https://bugs.webkit.org/show_bug.cgi?id=96395
+
+        broke hunders of tests for EFL and GTK (Requested by rakuco on
+        #webkit).
+
+        * http/tests/misc/non-utf8-header-name-expected.txt: Removed.
+        * http/tests/misc/non-utf8-header-name.php: Removed.
+
 2012-09-11  Luciano Wolf  <[email protected]>
 
         [Qt] [WK2] editing/inserting/typing-tab-designmode tests are failing

Deleted: trunk/LayoutTests/http/tests/misc/non-utf8-header-name-expected.txt (128191 => 128192)


--- trunk/LayoutTests/http/tests/misc/non-utf8-header-name-expected.txt	2012-09-11 15:33:04 UTC (rev 128191)
+++ trunk/LayoutTests/http/tests/misc/non-utf8-header-name-expected.txt	2012-09-11 15:42:19 UTC (rev 128192)
@@ -1 +0,0 @@
-Test for bug 96284: Non UTF-8 HTTP headers do not cause a crash.

Deleted: trunk/LayoutTests/http/tests/misc/non-utf8-header-name.php (128191 => 128192)


--- trunk/LayoutTests/http/tests/misc/non-utf8-header-name.php	2012-09-11 15:33:04 UTC (rev 128191)
+++ trunk/LayoutTests/http/tests/misc/non-utf8-header-name.php	2012-09-11 15:42:19 UTC (rev 128192)
@@ -1,9 +0,0 @@
-<?php
-header('HTTP/1.1 200 OK');
-header('\xC3: text/html');
-echo '<script>';
-echo '   if (window.testRunner)';
-echo '       testRunner.dumpAsText();';
-echo '</script>';
-echo '<p>Test for <a href="" 96284</a>: Non UTF-8 HTTP headers do not cause a crash.</p>';
-?>

Modified: trunk/Source/WebCore/ChangeLog (128191 => 128192)


--- trunk/Source/WebCore/ChangeLog	2012-09-11 15:33:04 UTC (rev 128191)
+++ trunk/Source/WebCore/ChangeLog	2012-09-11 15:42:19 UTC (rev 128192)
@@ -1,3 +1,15 @@
+2012-09-11  Sheriff Bot  <[email protected]>
+
+        Unreviewed, rolling out r128175.
+        http://trac.webkit.org/changeset/128175
+        https://bugs.webkit.org/show_bug.cgi?id=96395
+
+        broke hunders of tests for EFL and GTK (Requested by rakuco on
+        #webkit).
+
+        * platform/network/soup/ResourceResponseSoup.cpp:
+        (WebCore::ResourceResponse::updateFromSoupMessage):
+
 2012-09-11  Raphael Kubo da Costa  <[email protected]>
 
         [EFL] Rewrite the EFL-related Find modules

Modified: trunk/Source/WebCore/platform/network/soup/ResourceResponseSoup.cpp (128191 => 128192)


--- trunk/Source/WebCore/platform/network/soup/ResourceResponseSoup.cpp	2012-09-11 15:33:04 UTC (rev 128191)
+++ trunk/Source/WebCore/platform/network/soup/ResourceResponseSoup.cpp	2012-09-11 15:42:19 UTC (rev 128192)
@@ -69,7 +69,7 @@
 
     soup_message_headers_iter_init(&headersIter, soupMessage->response_headers);
     while (soup_message_headers_iter_next(&headersIter, &headerName, &headerValue))
-        m_httpHeaderFields.set(String::fromUTF8WithLatin1Fallback(headerName, strlen(headerValue)),
+        m_httpHeaderFields.set(String::fromUTF8(headerName),
                                String::fromUTF8WithLatin1Fallback(headerValue, strlen(headerValue)));
 
     m_soupFlags = soup_message_get_flags(soupMessage);
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to