import-map-overrides
import-map-overrides copied to clipboard
When parsing an empty script tag of type importmap the parser throws an error. Is this OK?
When parsing an element like:
<script type="importmap"></script>
the parser will throw an error here.
Is this the expected behaviour? I would expect the page not be broken by such an element, but I am not sure. I checked the importmap specs and couldn't find anything definitive on this.