Wren a web browser where WebAssembly runs everything, JavaScript included

chrome.storage.local

Gate: permission storage; contexts: Background, Popup, Tab, Content. Source: api/ext_storage.widl.

Methods and properties

MemberResultStatusGate
get(optional Keys keys)objecthostkeys absent or null: every item.
set(object items)voidhost
remove(Keys keys)voidhost
clear()voidhost
getBytesInUse(optional Keys keys)i64host
getKeys()string[]host

Events

EventListener's parametersGate
onChangedobject changes

Constants

  • QUOTA_BYTES = 10485760

Edit this page on GitHub