Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<meta charset=utf-8>
<title>Test a simple module import</title>
<script>
var result;
SimpleTest.waitForExplicitFinish();
function testLoaded() {
ok(result == 42, 'Check imported value');
SimpleTest.finish();
}
</script>
<script type="module" src="module_simpleImport.mjs"></script>
<body onload='testLoaded()'></body>