Update docs to contain more specific return values

This commit is contained in:
Samuel Attard 2016-09-28 18:28:44 +13:00 committed by Samuel Attard
parent 5114d571df
commit e0e47ea9a1
11 changed files with 28 additions and 25 deletions

View file

@ -107,10 +107,10 @@ Clears the sessions HTTP cache.
* `options` Object (optional)
* `origin` String - Should follow `window.location.origin`s representation
`scheme://host:port`.
* `storages` Array - The types of storages to clear, can contain:
* `storages` String[] - The types of storages to clear, can contain:
`appcache`, `cookies`, `filesystem`, `indexdb`, `local storage`,
`shadercache`, `websql`, `serviceworkers`
* `quotas` Array - The types of quotas to clear, can contain:
* `quotas` String[] - The types of quotas to clear, can contain:
`temporary`, `persistent`, `syncable`.
* `callback` Function (optional) - Called when operation is done.