Closed Bug 1483138 Opened 6 years ago Closed 6 years ago

clearing "Offline website data" also clears localStorage for WebExtensions

Categories

(WebExtensions :: General, defect)

62 Branch
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1416219

People

(Reporter: sanarena, Unassigned)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/11.1.2 Safari/605.1.15 Steps to reproduce: 1. Go to Firefox preferences 2. under Privacy & Security, click on Clear History 3. Choose time range to clear: everything 4. Check "Offline Website Data" 5. click clear now. 6. check localStorage for WebExtension based extensions and notice its cleared as well. It is even more of a problem if clear upon exit is on. (privacy.sanitize.sanitizeOnShutdown) Actual results: It cleared localStorage for WebExtension too, not only websites. Expected results: Only clear localStorage of websites and keep localStorage of extensions.
Summary: clearing "Offline website data" is clearing localStorage for WebExtensions → clearing "Offline website data" also clears localStorage for WebExtensions
Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.