A "Clear browsing data" action for cookies, site storage, and the HTTP cache (history already has "Clear all" in the menu).
Design
- Servo 0.4 exposes the clears:
site_data_manager().clear_cookies() / clear_site_data(sites, StorageType) for cookies + localStorage, and network_manager().clear_cache() for the HTTP cache.
- Add an
AppBrowser method wrapping these; a settings action invokes it.
- UI: a settings action (e.g. a Privacy group), optionally with per-category toggles (cookies / site storage / cache).
- Optionally include the existing history and downloads clears here too, so everything clearable is in one place.
A "Clear browsing data" action for cookies, site storage, and the HTTP cache (history already has "Clear all" in the menu).
Design
site_data_manager().clear_cookies()/clear_site_data(sites, StorageType)for cookies + localStorage, andnetwork_manager().clear_cache()for the HTTP cache.AppBrowsermethod wrapping these; a settings action invokes it.