blob: 3c1af3f5b60b5b04bbf77b398db7ad77d95b961b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
<!DOCTYPE html>
<meta charset=utf-8>
<title>Test a simple module import</title>
<script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
<script>
var result;
SimpleTest.waitForExplicitFinish();
function testLoaded() {
ok(result == 42, 'Check imported value');
SimpleTest.finish();
}
</script>
<script type="module" src="module_simpleImport.js"></script>
<body onload='testLoaded()'></body>
|