forked from mirrors/gecko-dev
This fixes the overly general context kind checks pointed out in the bug and adds error checking in ImportESModule. This also showed that JS::ClearModuleEnvironment could fail if the module's environment had not been initialized yet. This patch also adds a couple more tests. Differential Revision: https://phabricator.services.mozilla.com/D151006
1 line
21 B
JavaScript
1 line
21 B
JavaScript
this is not valid JS
|