Currently supported types of browsing data include:
Browser cache
Cookies
Downloads
History
Local storage
Plugin data
Saved form data
Saved passwords
While some data, like cookies, can already be isolated using different user contexts (i.e., containers in Firefox), there is no direct way to clean up other data types without restarting the browser with a fresh profile.
Since browser restarts are time-consuming, it would be beneficial to provide a method such as browser.clearBrowsingData, which accepts flags for specific data types (as listed above), allowing more granular cleanup without requiring a full restart.
The WebExtensions API supports a method to clear specific types of browsing data:
https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/browsingData
Currently supported types of browsing data include:
While some data, like cookies, can already be isolated using different user contexts (i.e., containers in Firefox), there is no direct way to clean up other data types without restarting the browser with a fresh profile.
Since browser restarts are time-consuming, it would be beneficial to provide a method such as
browser.clearBrowsingData
, which accepts flags for specific data types (as listed above), allowing more granular cleanup without requiring a full restart.