| Summary: | [Curl] Implement deleteCookie() | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Basuke Suzuki <Basuke.Suzuki> | ||||
| Component: | Platform | Assignee: | Basuke Suzuki <Basuke.Suzuki> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | achristensen, Basuke.Suzuki, chris.reid, commit-queue, ews-watchlist, galpeter, Hironori.Fujii, joepeck, webkit-bug-importer, youennf | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | WebKit Nightly Build | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Attachments: |
|
||||||
|
Description
Basuke Suzuki
2018-08-23 16:55:41 PDT
It is used from the web inspector. Created attachment 348020 [details]
PATCH
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.
Comment on attachment 348020 [details] PATCH Clearing flags on attachment: 348020 Committed r235351: <https://trac.webkit.org/changeset/235351> All reviewed patches have been landed. Closing bug. (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. 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. 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. |