web-platform-tests / web-platform-tests/interop
Multiple import maps
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 524
- Forks
- 35
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 10
Description
Description
Enable multiple import maps in a single document, while also enable ES modules to be loaded before import maps that don't impact their loading.
This avoid correctness issues in pages that are constructed by multiple teams/entities, where each can load its own modules and their maps.
See https://shopify.engineering/resilient-import-maps for more details.
Specification
https://html.spec.whatwg.org/multipage/webappapis.html#merge-existing-and-new-import-maps
web-feature
No response
Test Links
https://wpt.fyi/results/import-maps/multiple-import-maps?label=experimental&label=master&aligned
Additional Signals
Supported in Chromium and WebKit. Implemented but not enabled in Firefox.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked HTML specification section on merging existing and new import maps, then inspect the WPT results for multiple import maps. Compare the existing coverage with the requested cases: multiple maps in one document and ES modules loaded before later maps without affecting their loading. Done means the relevant interoperability tests cover those behaviors and pass in supported implementations.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- testing, web-dev
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100