Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<meta charset=utf-8>
<title>Test introduction type of an imported module</title>
<script>
var introType;
var extractIntroType;
info('start');
SimpleTest.waitForExplicitFinish();
function testIntroductionType() {
extractIntroType();
ok(introType == "importedModule", 'Check introduction type');
SimpleTest.finish();
}
</script>
<iframe src="iframe_extractIntroType.html"></iframe>
<script type="module">
import "./module_extractIntroType.mjs";
</script>
<body onload='testIntroductionType()'></body>