Merge pull request #5974 from electron/chrome-storage-sync

Add chrome.storage.sync and chrome.storage.get APIs
This commit is contained in:
Jessica Lord 2016-06-10 12:20:03 -07:00 committed by GitHub
commit c68ca16148
5 changed files with 77 additions and 12 deletions

View file

@ -878,6 +878,7 @@ describe('browser-window module', function () {
assert.equal(message.runtimeId, 'foo')
assert.equal(message.tabId, w.webContents.id)
assert.equal(message.i18nString, 'foo - bar (baz)')
assert.deepEqual(message.storageItems, {foo: 'bar'})
done()
})
})