blob: 7775aeabb4960a9823e0113243534ac250c2a73c [file] [log] [blame]
<!doctype html>
<html>
<head>
<title>html-script-module-errorHandling-parseError-DependentMultiple</title>
<script src="errorhandling-parseerror-common.js"></script>
</head>
<body>
<script type="module" onerror="errorHandler(event)">
// No parse errors in the root module, just in the dependent module
import test from "./errorhandling-parseerror-dependentmultiple.js";
document._errorReported = "shouldn't have run dependent module";
</script>
<script type="module" onerror="errorHandler(event)">
// With the broken dependent module already acquired, try to import it
// again from another root. This root should be unwound appropriately.
import test from "./errorhandling-parseerror-dependentmultiple.js";
document._errorReported = "really shouldn't have run dependent module";
</script>
</body>
</html>