Closed
Bug 1740689
Opened 3 years ago
Closed 3 years ago
Make a generic preloader
Categories
(Core :: Networking: HTTP, task, P2)
Core
Networking: HTTP
Tracking
()
RESOLVED
FIXED
98 Branch
Tracking | Status | |
---|---|---|
firefox98 | --- | fixed |
People
(Reporter: dragana, Assigned: dragana)
References
(Blocks 1 open bug)
Details
(Whiteboard: [necko-triaged])
Attachments
(1 file)
We need a class that will be responsible for a single preload. The class will:
- create a channel
- and will receive data, (OnStartRequest/OnDataAvaialbe/OnStopRequest)
- when the preloaded resource is actually use it will propagate the that to the appropriate channel.
We already have FetchPreloader that has a similar capabilities. We should make that class a generic class, e.g. GenericPreloader.
What needs to change is the nsIContentPolicy::TYPE_*, curently it is always nsIContentPolicy::TYPE_FETCH. We may need additional changes.
Assignee | ||
Comment 1•3 years ago
|
||
Updated•3 years ago
|
Assignee: nobody → dd.mozilla
Status: NEW → ASSIGNED
Pushed by ddamjanovic@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/1109caf4bba9
Rename EarlyHintsPreloader into EarlyHintsService r=necko-reviewers,kershaw
Comment 3•3 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
status-firefox98:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 98 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•