Closed
Bug 306729
Opened 19 years ago
Closed 12 years ago
Replace nsCachedChromeChannel with nsIInputStreamChannel (or something sane)
Categories
(Core :: Networking, defect, P5)
Core
Networking
Tracking
()
RESOLVED
FIXED
mozilla1.9alpha1
People
(Reporter: darin.moz, Unassigned)
Details
(Keywords: helpwanted)
It looks like nsCachedChromeChannel could be replaced with a nsInputStreamChannel instance that loads data from an empty stream. Besides reducing code this would also make the nsCachedChromeChannel implement nsIChannel properly (including support for nsIChannel.open, nsIRequest.suspend, and nsIRequest.resume). I think nsCachedChromeChannel may also not implement cancel properly since it appears to never call OnStartRequest and OnStopRequest if canceled! I don't know of any reported bugs that would be fixed by making this change, so I'm setting severity to minor.
| Reporter | ||
Updated•19 years ago
|
Target Milestone: --- → mozilla1.9alpha
Comment 1•19 years ago
|
||
It is not all that uncommon to get assertions about cachedchromechannel not supporting "open".
Comment 3•19 years ago
|
||
It's almost always paired with the fastload "URI mapped to two different specs" assertion, I never tracked it far enough to figure which was the chicken and which the egg. It was easy to reproduce while I was testing dbaron's live skin-switching stuff, I haven't seen it during "ordinary browsing".
| Reporter | ||
Updated•19 years ago
|
Keywords: helpwanted
Priority: -- → P5
| Reporter | ||
Comment 4•18 years ago
|
||
-> defaults
Assignee: darin.moz → nobody
QA Contact: benc → networking
Comment 5•12 years ago
|
||
It looks like Bug 206691 removed nsCachedChromeChannel and replaced it with something else. Please reopen if I'm wrong!
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•