Closed
Bug 223151
Opened 22 years ago
Closed 22 years ago
nsJSProtocolHandler::Suspend and ::Resume not implemented
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla1.6beta
People
(Reporter: Biesinger, Assigned: Biesinger)
References
()
Details
Attachments
(1 file)
773 bytes,
patch
|
bzbarsky
:
review+
bzbarsky
:
superreview+
|
Details | Diff | Splinter Review |
Looking at the code, it seems like Suspend could be implemented as |return
mStreamChannel->Suspend();| and Resume as |return mStreamChannel->Resume();|
Comment 1•22 years ago
|
||
(a) Why DOM HTML?
(b) Since you assigned it to a component where I'm QA, I'm curious, when would
any code ever call these methods? :-)
Assignee | ||
Comment 2•22 years ago
|
||
DOM HTML because I have no idea what DOM component this should be in, and the
file is in dom/.
as for b) - this would be called usually when a user wants to pause a
download... though granted, for javascript: urls it is unlikely that a user
wants to download from them. however, it would make this channel implementation
support more of the nsIChannel api, and seems to be easily doable. that doesn't
seem like a bad thing.
Assignee | ||
Comment 3•22 years ago
|
||
taking, I'll work on this sometime soon
Assignee: general → cbiesinger
Target Milestone: --- → mozilla1.6beta
Assignee | ||
Comment 4•22 years ago
|
||
![]() |
||
Comment 5•22 years ago
|
||
Comment on attachment 133976 [details] [diff] [review]
patch
looks good.
Attachment #133976 -
Flags: superreview+
Attachment #133976 -
Flags: review+
Assignee | ||
Updated•22 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 6•22 years ago
|
||
Checking in nsJSProtocolHandler.cpp;
/cvsroot/mozilla/dom/src/jsurl/nsJSProtocolHandler.cpp,v <--
nsJSProtocolHandler.cpp
new revision: 1.100; previous revision: 1.99
done
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•