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•3 years ago
|
||
Assignee | ||
Comment 2•3 years ago
|
||
Depends on D32560
Assignee | ||
Comment 3•3 years ago
|
||
Depends on D32561
Assignee | ||
Comment 4•3 years ago
|
||
Depends on D32562
Assignee | ||
Comment 5•3 years ago
|
||
Depends on D32614
Assignee | ||
Comment 6•3 years ago
|
||
Depends on D32615
Updated•3 years ago
|
Pushed by amarchesini@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/009302f63111 Cleanup nsCookie implementation - Get rid of ConstCookie, r=Ehsan https://hg.mozilla.org/integration/autoland/rev/08f5643acafa Cleanup nsCookie implementation - Get rid of nsCookieAttributes, r=Ehsan https://hg.mozilla.org/integration/autoland/rev/502bf512c66c Cleanup nsCookie implementation - simpler nsCookie, r=Ehsan https://hg.mozilla.org/integration/autoland/rev/4a90f6a4c101 Cleanup nsCookie implementation - network.cookie.thirdparty.sessionOnly to StaticPrefs, r=Ehsan https://hg.mozilla.org/integration/autoland/rev/6c5a7ea701e2 Cleanup nsCookie implementation - network_cookie_thirdparty_nonsecureSessionOnly to StaticPrefs, r=Ehsan https://hg.mozilla.org/integration/autoland/rev/519ab3e48848 Cleanup nsCookie implementation - Removed mIPCOpen, r=Ehsan
![]() |
||
Comment 8•3 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
•