|
@@ -109,12 +109,12 @@ Clears the session’s HTTP cache.
|
|
|
#### `ses.clearStorageData([options, callback])`
|
|
|
|
|
|
* `options` Object (optional)
|
|
|
- * `origin` String - Should follow `window.location.origin`’s representation
|
|
|
+ * `origin` String - (Optional) Should follow `window.location.origin`’s representation
|
|
|
`scheme://host:port`.
|
|
|
- * `storages` String[] - The types of storages to clear, can contain:
|
|
|
+ * `storages` String[] - (Optional) The types of storages to clear, can contain:
|
|
|
`appcache`, `cookies`, `filesystem`, `indexdb`, `localstorage`,
|
|
|
`shadercache`, `websql`, `serviceworkers`
|
|
|
- * `quotas` String[] - The types of quotas to clear, can contain:
|
|
|
+ * `quotas` String[] - (Optional) The types of quotas to clear, can contain:
|
|
|
`temporary`, `persistent`, `syncable`.
|
|
|
* `callback` Function (optional) - Called when operation is done.
|
|
|
|