forked from mirrors/gecko-dev
mochitest and web-platform-test are verifying import maps are supported. Moving the mochitest into its own folder (dom/base/test/jsmodules/importmaps) as the prefs needs to be in [DEFAULT] section in chrome.ini, see [1]. xpcshell-test is used to verify import maps are _NOT_ supported for web ext content scripts. [1]: https://searchfox.org/mozilla-central/rev/dd404f43c7198b1076fe5d7e05b1e6b1a03bdfeb/testing/mochitest/runtests.py#1725 Differential Revision: https://phabricator.services.mozilla.com/D142077
2 lines
40 B
JavaScript
2 lines
40 B
JavaScript
import { x } from "simple";
|
|
result = x;
|