Open
Bug 311009
Opened 19 years ago
Updated 2 years ago
nsIRequest::IsPending not set to false uniformly
Categories
(Core :: Networking, defect, P5)
Core
Networking
Tracking
()
NEW
mozilla1.9alpha1
People
(Reporter: darin.moz, Unassigned)
References
Details
(Whiteboard: [necko-would-take])
While working with bryner on one of the bfcache bugs, we found that nsIRequest::isPending is not set to false in a uniform way. For example, the HTTP channel sets isPending to false before calling OnStopRequest, while other channels set isPending to false after calling OnStopRequest. It would be nice if all channels set IsPending to false before calling OnStopRequest so that way downstream someone could determine if the channel is in the process of calling OnStopRequest. for example, in the case of a multipart mixed response, it would have been nice if one could inspect the IsPending state of the partChannel's baseChannel to determine if the OnStopRequest being called is the last OnStopRequest. bryner added nsIMultiPartChannel::IsLastPart to get around this problem. there may be other cases where being consistent here matters, so we should fix it.
| Reporter | ||
Updated•19 years ago
|
Target Milestone: --- → mozilla1.9alpha
| Reporter | ||
Comment 1•19 years ago
|
||
This bug is partially fixed for the protocol handlers covered by bug 312760.
Depends on: basechannel
| Reporter | ||
Updated•19 years ago
|
Priority: -- → P2
| Reporter | ||
Comment 2•18 years ago
|
||
-> defaults
Assignee: darin.moz → nobody
QA Contact: benc → networking
Comment 4•18 years ago
|
||
biesi, are you interested in taking this?
Flags: blocking1.9? → blocking1.9-
Whiteboard: [wanted-1.9]
Updated•17 years ago
|
Assignee: nobody → cbiesinger
Updated•17 years ago
|
Flags: wanted1.9+
Whiteboard: [wanted-1.9]
Updated•12 years ago
|
Assignee: cbiesinger → nobody
Honza, Michal, Patrick - do you guys know if this is still an issue?
Comment 6•12 years ago
|
||
I don't know if there's inconsistency between protocols anymore, but we're still inconsitstent *within* HTTP: see bug 748117
Updated•9 years ago
|
Whiteboard: [necko-would-take]
Comment 7•7 years ago
|
||
Bulk change to priority: https://bugzilla.mozilla.org/show_bug.cgi?id=1399258
Priority: P2 → P5
Updated•2 years ago
|
Severity: minor → S4
You need to log in
before you can comment on or make changes to this bug.
Description
•