mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-02 06:22:20 +00:00

Previously, for `rel=preload as=fetch`, the internal priority, `nsISupportsPriority`, was not adjusted. Now, the adjustment happens in `FetchPreloader::CreateChannel`. For `rel=preload as=font`, previously, the internal priority was always set to high in `FontLoaderUtils::BuildChannelSetup`. Now, the internal priority is a parameter, whose value potentially depends on the `fetchpriority` attribute. Note the minor correction of calling `SetPriority` instead of `AdjustPriority` in `FontLoaderUtils::BuildChannelSetup`. Differential Revision: https://phabricator.services.mozilla.com/D194205