Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions lib/storage/WebStorage.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ const webStorage = {
this.removeItems = keys => Storage.removeItems(keys)
.then(() => raiseStorageSyncManyKeysEvent(keys));

this.mergeItem = (key, batchedChanges, modifiedData) => Storage.mergeItem(key, batchedChanges, modifiedData)
.then(() => raiseStorageSyncEvent(key));

// If we just call Storage.clear other tabs will have no idea which keys were available previously
// so that they can call keysChanged for them. That's why we iterate over every key and raise a storage sync
// event for each one
Expand Down