Open
Bug 1774414
Opened 2 years ago
Updated 2 years ago
Import Maps won't work if there's a HTTP Link Header with modulepreload
Categories
(Core :: JavaScript Engine, task, P3)
Core
JavaScript Engine
Tracking
()
NEW
People
(Reporter: allstars.chh, Unassigned)
References
()
Details
For the modulepreload feature from bug 1425310, the modulepreload link element could be served from the equivalent HTTP Link Header, See the wpt test in 1.
And from the Import Maps spec, we need to set acquiring import maps to false when fetch a modulepreload module script graph 2.
So that means if the document comes with a HTTP Link Header modulepreload, then the document won't be able to use Import Maps.
Also see another wpt test 3, and Bug 1774175.
Reporter | ||
Updated•2 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•