Clears any local storage created by websites.
You can use the removalOptions
parameter, which is a browsingData.RemovalOptions
object, to:
- clear only local storage objects created after a given time
- control whether to clear only local storage objects created by normal web pages or to clear objects created by hosted apps and extensions as well.
This is an asynchronous function that returns a Promise
.