Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- Manifest: dom/base/test/jsmodules/chrome.toml
<!DOCTYPE html>
<meta charset=utf-8>
<title>Test cyclic module imports</title>
<script>
var result;
SimpleTest.waitForExplicitFinish();
function testLoaded() {
SimpleTest.finish();
}
</script>
<script type="module">
import { func1 } from "./module_cyclic1.mjs";
ok(func1(5, "") == "12312");
</script>
<body onload='testLoaded()'></body>