Files
Ruhollah Majdoddin 94d996443b Bug 2061348 - Remove the unused removeCookie and removeAllCookies methods from the cookies storage actor. r=jdescottes,devtools-reviewers
Since bug 1267910 these two methods implemented the jar-scoped cookie
removal behind the removeItem and removeAll requests: their
originAttributes argument selected the jar that _removeCookies
enumerated. Bug 1907570 rewired removeItem, removeAll and
removeAllSessionCookies to call _removeCookies directly and replaced
the jar-scoped enumeration with all-jars enumeration filtered by the
row's uniqueKey, leaving removeCookie and removeAllCookies without
callers. They are not part of the storage protocol spec, so they are
not reachable from a client either, and _removeCookies no longer reads
the originAttributes they pass: if called, they would remove matching
cookies from every jar backing the host, contrary to what their
signature suggests. Remove them.

Differential Revision: https://phabricator.services.mozilla.com/D316858
2026-08-07 20:49:07 +00:00
..