Open Bug 1848312 Opened 3 years ago Updated 2 years ago

Importmap seen state not synced between parser thread and the main thread

Categories

(Core :: DOM: HTML Parser, defect)

defect

Tracking

()

People

(Reporter: hsivonen, Unassigned)

Details

If the main thread document.writes an importmap the off-the-main-thread parser doesn't turn off preloads for module scripts or module preloads from the link element.

If the off-the-main-thread parser sees an importmap, main-thread document.write-generated module preloads aren't turned off.

(In reply to Henri Sivonen (:hsivonen) from comment #0)

If the off-the-main-thread parser sees an importmap, main-thread document.write-generated module preloads aren't turned off.

I think I misread code on this point.

Could you set proper severity?

Flags: needinfo?(hsivonen)
Severity: -- → S3
Flags: needinfo?(hsivonen)
You need to log in before you can comment on or make changes to this bug.