Bluep
Bluep

Reputation: 31

Error using Dexie from browser extension content scripts

I'm facing an error when I run the Dexie Hello World from the content script of my firefox extension.

The extension is:

The previously linked example is declared in the manifest.json as content_scripts and the storage permission is set.

I think the problem is related to the extension environment , because when I paste the code compiled by webpack into the browser console it works a expected.

The error: OpenFailedError: TypeError "then" is read-only

Versions:

Thanks for the support!

Upvotes: 3

Views: 183

Answers (0)

Related Questions