Cleanup nsCookie implementation
Categories
(Core :: Networking: Cookies, task, P2)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox69 | --- | fixed |
People
(Reporter: baku, Assigned: baku)
Details
(Whiteboard: [necko-triaged])
Attachments
(6 files)
|
47 bytes,
text/x-phabricator-request
|
Details | Review | |
|
47 bytes,
text/x-phabricator-request
|
Details | Review | |
|
47 bytes,
text/x-phabricator-request
|
Details | Review | |
|
47 bytes,
text/x-phabricator-request
|
Details | Review | |
|
47 bytes,
text/x-phabricator-request
|
Details | Review | |
|
47 bytes,
text/x-phabricator-request
|
Details | Review |
Currently we have basically the same data struct with 4 different implementations:
-
nsCookie - used for nsICookie and nsICookie2 interfaces
https://searchfox.org/mozilla-central/rev/4606c7974a68cab416c038acaedcae49eed93822/netwerk/cookie/nsCookie.h -
nsCookieAttributes - used for cookie parsing
https://searchfox.org/mozilla-central/rev/4606c7974a68cab416c038acaedcae49eed93822/netwerk/cookie/nsCookieService.h#203 -
ConstCookie - used mainly for 1 method only
https://searchfox.org/mozilla-central/rev/4606c7974a68cab416c038acaedcae49eed93822/netwerk/cookie/nsCookieService.h#92 -
CookieStruct - used for IPC
https://searchfox.org/mozilla-central/rev/4606c7974a68cab416c038acaedcae49eed93822/netwerk/ipc/NeckoChannelParams.ipdlh
We should have 1 implementation only. I pick CookieStruct.
| Assignee | ||
Comment 1•6 years ago
|
||
| Assignee | ||
Comment 2•6 years ago
|
||
Depends on D32560
| Assignee | ||
Comment 3•6 years ago
|
||
Depends on D32561
| Assignee | ||
Comment 4•6 years ago
|
||
Depends on D32562
| Assignee | ||
Comment 5•6 years ago
|
||
Depends on D32614
| Assignee | ||
Comment 6•6 years ago
|
||
Depends on D32615
Updated•6 years ago
|
Comment 8•6 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/009302f63111
https://hg.mozilla.org/mozilla-central/rev/08f5643acafa
https://hg.mozilla.org/mozilla-central/rev/502bf512c66c
https://hg.mozilla.org/mozilla-central/rev/4a90f6a4c101
https://hg.mozilla.org/mozilla-central/rev/6c5a7ea701e2
https://hg.mozilla.org/mozilla-central/rev/519ab3e48848
Description
•