gecko-dev/parser
Emilio Cobos Álvarez d575f4cd3d Bug 1637651 - Don't trigger duplicate style link preloads for the same preload key. r=smaug
This is equivalent to the check in Document::MaybePreLoadImage, since
otherwise this code won't check the preload service at all. Without
this, we can trigger the assertion in PreloaderBase::NotifyOpen when we
have identical Link header and speculative link element preloads.

It's not a correctness nor perf issue, because the CSS loader will
coalesce the stylesheet load anyways, but it seems better to do this
than to remove the assertion, specially given images already do that.

The test-case in the following patch triggers the issue.

Depends on D103568

Differential Revision: https://phabricator.services.mozilla.com/D103569
2021-02-01 15:06:12 +00:00
..
expat
html Bug 1637651 - Don't trigger duplicate style link preloads for the same preload key. r=smaug 2021-02-01 15:06:12 +00:00
htmlparser Bug 1685024 - Disable test_bug1646140-2 in headless mode r=mbrodesser 2021-01-06 09:03:49 +00:00
prototype
xml Bug 1680084 - Tests. r=freddyb 2021-01-27 22:45:00 +00:00
moz.build
nsCharsetSource.h Bug 1686463 - Gather telemetry about automatic encoding detection outcomes. r=chutten,emk 2021-01-24 00:11:07 +00:00