blob: 88d6a297c21a28181c23e9ac91527f5b4b765d16 [file] [log] [blame]
<!DOCTYPE html>
<title>Module importing syntax error script and slow script should not crash UA</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script type="module">
setup({allow_uncaught_exception: true});
window.log = [];
</script>
<script type="module">
import "./syntaxerror.js";
import "./resources/delayed-modulescript.py";
window.loaded = true;
</script>
<script type="module">
test(() => {
assert_false(loaded);
}, "module graph with a syntax error should not evaulate but should not crash UA.");
</script>