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:


Values of this type are objects. They contain the following properties:

cache Optional

boolean. The browser's cache.

cookies Optional

boolean. Cookies acquired while browsing.

downloads Optional

boolean. The user's download history.

fileSystems Optional

boolean. Website's file systems.

formData Optional

boolean. Saved form data, for autocomplete.

history Optional

boolean. The user's browsing history.

indexedDB Optional

boolean. IndexedDB data.

localStorage Optional

boolean. Local storage data.

passwords Optional

boolean. Saved passwords, for autocomplete.

pluginData Optional

boolean. Stored data associated with plugins.

serverBoundCertificates Optional

boolean. Stored server-bound certificates.

serviceWorkers Optional

boolean. Data cached by service workers.

Browser compatibility

BCD tables only load in the browser

Note: This API is based on Chromium's chrome.browsingData API.