chrome.runtime.id needs to be a string when using webextension-polyfill #8
Labels
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
Is your feature request related to a problem? Please describe.
When using
webextension-polyfill
you have to declarechrome.runtime.id
as a string injest.setup.js
, like for examplechrome.runtime.id = 'test id'
if not you get the following errorError: This script should only be loaded in a browser extension.
Describe the solution you'd like
I'd like it if jest-chrome could add a random default string or just a hard coded value so I wouldn't have to remember to add this id.
The text was updated successfully, but these errors were encountered: