Closed Bug 1637039 Opened 5 years ago Closed 5 years ago

[rel=preload] Remove preloads from Document.Preloads() when used.

Categories

(Core :: DOM: Core & HTML, defect, P1)

defect

Tracking

()

RESOLVED FIXED
mozilla78
Tracking Status
firefox78 --- fixed

People

(Reporter: mayhemer, Assigned: mayhemer)

References

(Blocks 1 open bug)

Details

Attachments

(6 files)

To get into parity with Chrome's behavior. This doesn't apply to style loading because those use internal coalescing that ensures only one load for the same URL+attributes load. This also includes <link preload style> tags.

Assignee: nobody → honzab.moz
Status: NEW → ASSIGNED
Blocks: 1639607

(Ignore previous comment, belongs to a different bug)

Flags: needinfo?(emilio)
Pushed by honzab.moz@firemni.cz: https://hg.mozilla.org/integration/autoland/rev/059e7a42f158 Adjust `PreloaderBase::NotifyStart` to read channel tainting also for non-opened preloads, r=edgar https://hg.mozilla.org/integration/autoland/rev/bfe7e80e784a Notify image preload when its loading channel synchronously fails to open, remove a used image preload from Document, r=edgar https://hg.mozilla.org/integration/autoland/rev/7dbee3b22e37 Notify script preload when the loading channel synchronously fails to open, remove a used script preload from Document, r=hsivonen https://hg.mozilla.org/integration/autoland/rev/a9a776b65441 Notify style preload when the loading channel synchronously fails to open, r=emilio https://hg.mozilla.org/integration/autoland/rev/e432e4f95af4 Use `RemoveSelf` when removing preload for a font on its use (cosmetic, no functional change), r=emilio https://hg.mozilla.org/integration/autoland/rev/84ba9076a405 Make synchronous open errors of a fetch preloading channel be notified to link preload tags, r=kershaw
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: