WICG / import-maps

How to control the behavior of JavaScript imports
https://html.spec.whatwg.org/multipage/webappapis.html#import-maps
Other
2.7k stars 71 forks source link

Specify parsing error handling #100

Closed hiroshige-g closed 5 years ago

hiroshige-g commented 5 years ago

The reference implementation is mostly permissive about errors in values (ignore invalid entries rather than erroring the entire map).

I think the priority is low and not an implementation blocker. Filing this for tracking and explicit decision.

domenic commented 5 years ago

The reference implementation should be pretty up to date on this. See also #80 for previous discussion.

In general I've tried to do as much validation as possible up-front, at parsing time. But, I don't think the difference will be observable.

hiroshige-g commented 5 years ago

Oh, thanks! (I'm not sure why I couldn't catch that thread when I searched)