WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
128845
Expose a way to clear cookies modified after a given date
https://bugs.webkit.org/show_bug.cgi?id=128845
Summary
Expose a way to clear cookies modified after a given date
Ricky Mondello
Reported
2014-02-14 14:22:07 PST
It'd be useful to have a way to remove cookies that were added after a given point in time.
Attachments
Patch
(12.22 KB, patch)
2014-02-14 17:57 PST
,
Ricky Mondello
no flags
Details
Formatted Diff
Diff
Does this fix the GTK build?
(12.99 KB, patch)
2014-02-14 18:35 PST
,
Ricky Mondello
no flags
Details
Formatted Diff
Diff
Addressing Jessie's feedback
(14.51 KB, patch)
2014-02-17 13:56 PST
,
Ricky Mondello
no flags
Details
Formatted Diff
Diff
Same as the last patch, but name the category
(14.58 KB, patch)
2014-02-17 20:24 PST
,
Ricky Mondello
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Ricky Mondello
Comment 1
2014-02-14 17:57:44 PST
Created
attachment 224269
[details]
Patch
Ricky Mondello
Comment 2
2014-02-14 18:35:27 PST
Created
attachment 224273
[details]
Does this fix the GTK build?
Jessie Berlin
Comment 3
2014-02-17 09:24:50 PST
Comment on
attachment 224273
[details]
Does this fix the GTK build? View in context:
https://bugs.webkit.org/attachment.cgi?id=224273&action=review
One of the reasons the GTK and EFL builds are broken is that you added a method declaration to PlatformCookieJar.h but only added an implementation to Source/WebCore/platform/network/cf/CookieJarCFNet.cpp and Source/WebCore/platform/network/mac/CookieJarMac.mm. You also need to add a stub implementation to the soup/CookieJarSoup.cpp implementation and possibly to the curl/CookieJarCurl.cpp implementation.
> Source/WebCore/platform/network/cf/CookieJarCFNet.cpp:242 > +void deleteAllCookies(const NetworkStorageSession&)
This is one of the reasons the Windows build is broken: 1>..\platform\network\cf\CookieJarCFNet.cpp(243): error C2084: function 'void WebCore::deleteAllCookies(const WebCore::NetworkStorageSession &)' already has a body C:\cygwin\home\buildbot\WebKit\Source\WebCore\platform\network\PlatformCookieJar.h(50) : see previous definition of 'deleteAllCookies' You probably meant void deleteAllCookiesModifiedAfterDate(const NetworkStorageSession&, double) instead
Ricky Mondello
Comment 4
2014-02-17 13:56:43 PST
Created
attachment 224421
[details]
Addressing Jessie's feedback
Alexey Proskuryakov
Comment 5
2014-02-17 16:38:00 PST
Comment on
attachment 224421
[details]
Addressing Jessie's feedback View in context:
https://bugs.webkit.org/attachment.cgi?id=224421&action=review
> Source/WebCore/platform/network/mac/CookieJarMac.mm:42 > +@interface NSHTTPCookieStorage ()
I thought that we used named categories for these things: @interface NSHTTPCookieStorage (Details)
Ricky Mondello
Comment 6
2014-02-17 16:38:42 PST
(In reply to
comment #5
)
> (From update of
attachment 224421
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=224421&action=review
> > > Source/WebCore/platform/network/mac/CookieJarMac.mm:42 > > +@interface NSHTTPCookieStorage () > > I thought that we used named categories for these things: > > @interface NSHTTPCookieStorage (Details)
We do and should! I'll post another patch.
Ricky Mondello
Comment 7
2014-02-17 20:24:04 PST
Created
attachment 224461
[details]
Same as the last patch, but name the category
WebKit Commit Bot
Comment 8
2014-02-17 21:13:06 PST
Comment on
attachment 224461
[details]
Same as the last patch, but name the category Clearing flags on attachment: 224461 Committed
r164272
: <
http://trac.webkit.org/changeset/164272
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug