Stores one or more items in the storage area, or update existing items.
When you store or update a value using this API, the storage.onChanged
event will fire.
Note that when storing items in the sync
storage area, the browser enforces quotas on the amount of data each extension can store. See Storage quotas for sync data.
This is an asynchronous function that returns a Promise
.