Add-ons

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:

Type

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

ChromeEdgeFirefoxFirefox for AndroidOpera
cache Yes No5356 Yes
cookies Yes No5356 Yes
downloads Yes No5356 Yes
fileSystems Yes No No No Yes
formData Yes No5356 Yes
history Yes No5356 Yes
indexedDB Yes No No No Yes
localStorage Yes No5757 Yes
passwords Yes No5356 Yes
pluginData Yes No5356 Yes
serverBoundCertificates Yes No No No Yes
serviceWorkers Yes No5356 Yes

Acknowledgements

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

Microsoft Edge compatibility data is supplied by Microsoft Corporation and is included here under the Creative Commons Attribution 3.0 United States License.

Document Tags and Contributors

 Contributors to this page: wbamberg
 Last updated by: wbamberg,