зеркало из https://github.com/mozilla/gecko-dev.git
d575f4cd3d
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 |
||
---|---|---|
.. | ||
expat | ||
html | ||
htmlparser | ||
prototype | ||
xml | ||
moz.build | ||
nsCharsetSource.h |