LibWeb: Don't crash with invalid import maps

See:
 - http://wpt.live/import-maps/multiple-import-maps/with-errors.html
This commit is contained in:
Jamie Mansfield 2024-08-04 14:08:32 +01:00 committed by Andreas Kling
commit c891b83fc0
Notes: github-actions[bot] 2024-08-06 14:26:37 +00:00
4 changed files with 35 additions and 11 deletions

View file

@ -0,0 +1,10 @@
<!DOCTYPE html>
<script src="../include.js"></script>
<script type="importmap">
Invalid import map.
</script>
<script type="module">
test(() => {
println("PASS");
});
</script>