Gets the amount of storage space, in bytes, used one or more items being stored in the storage area.
This function only exists in browser.storage.sync It does not exist in browser.storage.local See https://bugzilla.mozilla.org/show_bug.cgi?id=1385832
This is an asynchronous function that returns a Promise
.