WICG / import-maps

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

Only apply /-prefix handling to special URL-like specifiers #227

Closed domenic closed 3 years ago

domenic commented 3 years ago

Closes #166.


Preview | Diff

hiroshige-g commented 3 years ago

FYI Chromium CL: https://chromium-review.googlesource.com/c/chromium/src/+/2491594

domenic commented 3 years ago

I just hope we don't restrict custom builtin schemes and alternative schemes though.

For example we might want to include safelisted schemes - whatwg/html#5482.

Protocol handlers only apply to navigation, not to resource fetching, so I don't think that would be the right layering.