Clears various types of browsing data stored in a user's profile.
dataToRemove The set of data types to remove.
returns Resolves when deletion has completed.
Clears the browser's cookies and server-bound certificates modified within
a particular timeframe.
returns Resolves when the browser's cookies and server-bound
certificates have been cleared.
Clears the browser's list of downloaded files (not the downloaded files
themselves).
returns Resolves when the browser's list of downloaded files has been
cleared.
Reports which types of data are currently selected in the 'Clear browsing
data' settings UI. Note: some of the data types included in this API are
not available in the settings UI, and some UI settings control more than
one data type listed here.