(In reply to Tom S [:evilpie] from comment #5) I don't know that much about web extensions, but yes it seems like that's what will happen. If content script runs in the context of the page's global then it will get the page's module loader, not the WebExtension module loader. I'm not sure what's expected here and can't find a spec for this. Tom is this defined somewhere?
Bug 1803950 Comment 6 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
(In reply to Tom S [:evilpie] from comment #5) I don't know that much about web extensions, but yes it seems like that's what will happen. If content script runs in the context of the page's global then it will get the page's module loader, not the WebExtension module loader. I'm not sure what's expected here and can't find a spec for executeScript. Tom is this defined somewhere?