browsingData.DataTypeSet
The browsingData.DataTypeSet type describes a set of data types.
It contains a number of boolean properties. The name of each property is the name of a particular type of browsing data: "downloads", "history" and so on. All properties are optional.
This type is used:
- in
browsingData.remove()to describe which data types to remove - in
browsingData.settings()to describe which data types are currently selected in the browser's "Clear History" feature.
Type
Values of this type are objects. They contain the following properties:
cacheOptional-
boolean. The browser's cache. -
boolean. Cookies acquired while browsing. downloadsOptional-
boolean. The user's download history. fileSystemsOptional-
boolean. Website's file systems. formDataOptional-
boolean. Saved form data, for autocomplete. historyOptional-
boolean. The user's browsing history. indexedDBOptional-
boolean. IndexedDB data. localStorageOptional-
boolean. Local storage data. passwordsOptional-
boolean. Saved passwords, for autocomplete. pluginDataOptional-
boolean. Stored data associated with plugins. serverBoundCertificatesOptional-
boolean. Stored server-bound certificates. serviceWorkersOptional-
boolean. Data cached by service workers.
Browser compatibility
Loading…
Note:
This API is based on Chromium's chrome.browsingData API.