When I call chrome.offscreen.createDocument with reason WORKERS or LOCAL_STORAGE, the call throws a Type Error, and says that the property `reasons` must be one of AUDIO_PLAYBACK, BLOBS, ... This allowed list includes the reasons given in chrome api document, but not WORKERS or LOCAL_STORAGE, though these are the last two items in api doc.
Both WORKERS and LOCAL_STORAGE reasons are also included in the code here:
https://chromium.googlesource.com/chromium/src/+/main/extensions/common/api/offscreen.idlMy browser is Chrome 112.0.5615.138 on Windows.
Does anyone know if WORKERS and LOCAL_STORAGE are valid reasons? Maybe not yet added to current chrome version? I need the offscreen document to interface with IndexedDB so was planning to use the LOCAL_STORAGE reason.