Closed
Bug 1906393
Opened 2 years ago
Closed 1 year ago
Add nsIIncrementalStreamLoader.onStartRequest
Categories
(Core :: Networking, task, P1)
Core
Networking
Tracking
()
RESOLVED
FIXED
130 Branch
| Tracking | Status | |
|---|---|---|
| firefox130 | --- | fixed |
People
(Reporter: arai, Assigned: arai)
References
Details
(Whiteboard: [necko-triaged])
Attachments
(1 file)
In bug 1896709, we need to accumulate the cache expiration time for script loader's request.
The ScriptLoader uses nsIIncrementalStreamLoader and nsIIncrementalStreamLoaderObserver for request handling, instead of directly observing with nsIRequestObserver.
In order to reflect the cache info, nsIRequestObserver::onStartRequest need to be exposed to nsIIncrementalStreamLoaderObserver
NS_IMETHODIMP
StreamLoader::OnStartRequest(nsIRequest* aRequest) {
...
mSheetLoadData->AccumulateExpirationTime(
CalculateExpirationTime(aRequest, mSheetLoadData->mURI));
| Assignee | ||
Updated•2 years ago
|
Assignee: nobody → arai.unmht
Status: NEW → ASSIGNED
| Assignee | ||
Comment 1•2 years ago
|
||
Updated•2 years ago
|
Whiteboard: [necko-triaged]
Pushed by arai_a@mac.com:
https://hg.mozilla.org/integration/autoland/rev/ecc4d56f368f
Add nsIIncrementalStreamLoader.onStartRequest. r=necko-reviewers,kershaw
Comment 3•1 year ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
status-firefox130:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 130 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•