Closed Bug 1642581 Opened 6 years ago Closed 1 year ago

Refactoring CookieServiceChild.cpp

Categories

(Core :: Networking: Cookies, enhancement, P3)

enhancement

Tracking

()

RESOLVED DUPLICATE of bug 1910886

People

(Reporter: baku, Unassigned)

Details

(Whiteboard: [necko-triaged])

CookieServiceChild and CookieService have a lot of duplicate code.
I would suggest doing these changes:

  1. replace CookieServiceChild with a CookieStorage, specific for the content process. This storage should use something similar to the current cookie IPDL communication.
  2. nsICookieManager methods in CookieService should be exposed only to the parent process, maybe splitting the class in 2: parent and content.
Severity: -- → N/A
Whiteboard: [necko-triaged]
Status: NEW → RESOLVED
Closed: 1 year ago
Duplicate of bug: 1910886
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.