-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Description
I make error :
Error: Error thrown in execution script: e is not defined.
Stack: ReferenceError: e is not defined
at <anonymous>:4:44
at <anonymous>:4:76
at <anonymous>:20:3
at Object.chrome.tabs.executeAsyncFunction
my code:
try {
const scriptToExecute = async function() {
return 'hi'
}
const results = await chrome.tabs.executeAsyncFunction(window.tabs[0].id, scriptToExecute)
} catch (err) {
console.log(err)
}
Any have idea ?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels