Title: [112764] trunk/Source/WebCore
- Revision
- 112764
- Author
- [email protected]
- Date
- 2012-03-30 19:36:35 -0700 (Fri, 30 Mar 2012)
Log Message
[BlackBerry] Headers with no content shouldn't be dropped by platform's request.
https://bugs.webkit.org/show_bug.cgi?id=82691
Patch by Jason Liu <[email protected]> on 2012-03-30
Reviewed by Rob Buis.
Test : http/tests/xmlhttprequest/xmlhttprequest-setrequestheader-no-value.html
* platform/network/blackberry/ResourceRequestBlackBerry.cpp:
(WebCore::ResourceRequest::initializePlatformRequest):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (112763 => 112764)
--- trunk/Source/WebCore/ChangeLog 2012-03-31 02:27:52 UTC (rev 112763)
+++ trunk/Source/WebCore/ChangeLog 2012-03-31 02:36:35 UTC (rev 112764)
@@ -1,3 +1,15 @@
+2012-03-30 Jason Liu <[email protected]>
+
+ [BlackBerry] Headers with no content shouldn't be dropped by platform's request.
+ https://bugs.webkit.org/show_bug.cgi?id=82691
+
+ Reviewed by Rob Buis.
+
+ Test : http/tests/xmlhttprequest/xmlhttprequest-setrequestheader-no-value.html
+
+ * platform/network/blackberry/ResourceRequestBlackBerry.cpp:
+ (WebCore::ResourceRequest::initializePlatformRequest):
+
2012-03-30 Eric Seidel <[email protected]>
Add tests for iframe seamless and support for parsing webkitseamless attribute
Modified: trunk/Source/WebCore/platform/network/blackberry/ResourceRequestBlackBerry.cpp (112763 => 112764)
--- trunk/Source/WebCore/platform/network/blackberry/ResourceRequestBlackBerry.cpp 2012-03-31 02:27:52 UTC (rev 112763)
+++ trunk/Source/WebCore/platform/network/blackberry/ResourceRequestBlackBerry.cpp 2012-03-31 02:36:35 UTC (rev 112764)
@@ -152,7 +152,7 @@
for (HTTPHeaderMap::const_iterator it = httpHeaderFields().begin(); it != httpHeaderFields().end(); ++it) {
String key = it->first;
String value = it->second;
- if (!key.isEmpty() && !value.isEmpty()) {
+ if (!key.isEmpty()) {
// We need to check the encoding and encode the cookie's value using latin1 or utf8 to support unicode characters.
// We wo't use the old cookies of resourceRequest for new location because these cookies may be changed by redirection.
if (!equalIgnoringCase(key, "Cookie"))
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes