[haiku-webkit-commits] r306 - webkit/trunk/WebKit/haiku/API

  • From: webkit@xxxxxxxxxxxxxxx
  • To: haiku-webkit-commits@xxxxxxxxxxxxx
  • Date: Tue, 09 Mar 2010 21:19:19 +0000

Author: stippi
Date: Tue Mar  9 21:19:18 2010
New Revision: 306
URL: http://mmlr.dyndns.org/changeset/306

Log:
Added TODO about why the current implementation is broken...

Modified:
   webkit/trunk/WebKit/haiku/API/NetworkCookieJar.cpp

Modified: webkit/trunk/WebKit/haiku/API/NetworkCookieJar.cpp
==============================================================================
--- webkit/trunk/WebKit/haiku/API/NetworkCookieJar.cpp  Tue Mar  9 21:18:48 
2010        (r305)
+++ webkit/trunk/WebKit/haiku/API/NetworkCookieJar.cpp  Tue Mar  9 21:19:18 
2010        (r306)
@@ -28,6 +28,7 @@
 #include "config.h"
 #include "NetworkCookieJar.h"
 
+#include "NetworkCookie.h"
 #include "PlatformString.h"
 #include "StringHash.h"
 #include <Message.h>
@@ -97,6 +98,9 @@
 
 void BNetworkCookieJar::SetCookiesFor(const BString& url, const BString& value)
 {
+       // TODO: This replaces the previous cookie value, which means it's 
totally broken.
+       // What really needs to happen is that there needs to be a list of 
cookies, and
+       // cookies need to be appended.
        fData->cookies.set(url, value);
 }
 

Other related posts:

  • » [haiku-webkit-commits] r306 - webkit/trunk/WebKit/haiku/API - webkit