RESOLVED FIXED 188908
[Curl] Implement deleteCookie()
https://bugs.webkit.org/show_bug.cgi?id=188908
Summary [Curl] Implement deleteCookie()
Basuke Suzuki
Reported 2018-08-23 16:55:41 PDT
Delete cookie was not implemented.
Attachments
PATCH (1.69 KB, patch)
2018-08-24 10:31 PDT, Basuke Suzuki
no flags
Basuke Suzuki
Comment 1 2018-08-24 10:29:19 PDT
It is used from the web inspector.
Basuke Suzuki
Comment 2 2018-08-24 10:31:47 PDT
Fujii Hironori
Comment 3 2018-08-26 21:29:02 PDT
Comment on attachment 348020 [details] PATCH I think this is not right. NetworkStorageSession::deleteCookie should delete cookies only in the storage session for private browsing mode. But, I don't object to land this change.
WebKit Commit Bot
Comment 4 2018-08-26 21:55:16 PDT
Comment on attachment 348020 [details] PATCH Clearing flags on attachment: 348020 Committed r235351: <https://trac.webkit.org/changeset/235351>
WebKit Commit Bot
Comment 5 2018-08-26 21:55:18 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 6 2018-08-26 21:56:16 PDT
Basuke Suzuki
Comment 7 2018-08-28 15:24:49 PDT
(In reply to Fujii Hironori from comment #3) > Comment on attachment 348020 [details] > PATCH > > I think this is not right. NetworkStorageSession::deleteCookie > should delete cookies only in the storage session for private > browsing mode. But, I don't object to land this change. I cannot get what you say. CookieJarCurlDatabase::deleteCookie() will be called with proper NetworkStorageSession object. It doesn't tightly connected to private mode, but it may happen on default session. The method itself will be called from web inspector to delete specific cookie. These are my understanding.
Fujii Hironori
Comment 8 2018-08-29 20:02:02 PDT
Curl port should suport multiple cookie storages for private browsing mode as well as other ports does. NetworkStorageSession::deleteCookie should delete cookies only in its cookie storage.
Basuke Suzuki
Comment 9 2018-08-30 10:41:16 PDT
Got it. Your point is that every network storage session shares same cookie jar db. We should fix that. Also we need a reference implementation of private mode in MiniBrowser.
Note You need to log in before you can comment on or make changes to this bug.