mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-26 20:30:41 +00:00

The browser:purge-domain-data notification had two different intentions, - to clear session store information and - to clear all localStorage and sessionStorage Firing the notification accomplished both at the same time, which from a user perspective is of course totally not understandable. This commit removes purge-domain-data in favor of the two distinct purge-localStorage and purge-sessionStorage events. This gives callers more granular choice on what they want to clear. Differential Revision: https://phabricator.services.mozilla.com/D16460 --HG-- extra : moz-landing-system : lando