Wren

chrome.storage.sync

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

Methods and properties

MemberResultStatusGate
get(optional Keys keys)objecthost
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 = 102400
  • QUOTA_BYTES_PER_ITEM = 8192
  • MAX_ITEMS = 512
  • MAX_WRITE_OPERATIONS_PER_HOUR = 1800
  • MAX_WRITE_OPERATIONS_PER_MINUTE = 120

Edit this page on GitHub