Check the size of the object to be saved and switch to `chrome.storage.local` if needed.
Check the size of the object to be saved and switch to
chrome.storage.localif needed.