mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-07 09:54:42 +00:00
Bug 1862185: change documentation of PreloadService
to distinguish <link rel=preload>
from speculative loads initiated by the parser. r=necko-reviewers,kershaw DONTBUILD
Clarifies that the speculative loads from the parser are meant. Differential Revision: https://phabricator.services.mozilla.com/D192318
This commit is contained in:
parent
b1e55a9ff8
commit
1dfc60fefb
@ -26,7 +26,9 @@ enum class ReferrerPolicy : uint8_t;
|
||||
} // namespace dom
|
||||
|
||||
/**
|
||||
* Intended to scope preloads and speculative loads under one roof. This class
|
||||
* Intended to scope preloads
|
||||
* (https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/rel/preload)
|
||||
* and speculative loads initiated by the parser under one roof. This class
|
||||
* is intended to be a member of dom::Document. Provides registration of
|
||||
* speculative loads via a `key` which is defined to consist of the URL,
|
||||
* resource type, and resource-specific attributes that are further
|
||||
|
Loading…
Reference in New Issue
Block a user