from https://orionfeedback.org/d/284-essential-browserchrome-variable-not-given-in-background-and-option-pages
Steps to reproduce:
Insert the following debug code in option page.
alert(globalThis.chrome);
await chrome.storage.local.get(null);
Open the option page by calling chrome.runtime.openOptionsPage()
from background page.
Then appears 2 dialogs.
Expected behavior:
chrome
variable can be accessed from option page.
Orion, OS version; hardware type:
- Orion
- v1.2.10 (2) (WebKit 8615.2.9.10.6)
- OS version
- hardware type