Closed Bug 223151 Opened 22 years ago Closed 22 years ago

nsJSProtocolHandler::Suspend and ::Resume not implemented

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla1.6beta

People

(Reporter: Biesinger, Assigned: Biesinger)

References

()

Details

Attachments

(1 file)

Looking at the code, it seems like Suspend could be implemented as |return mStreamChannel->Suspend();| and Resume as |return mStreamChannel->Resume();|
(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? :-)
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.
taking, I'll work on this sometime soon
Assignee: general → cbiesinger
Target Milestone: --- → mozilla1.6beta
Comment on attachment 133976 [details] [diff] [review] patch looks good.
Attachment #133976 - Flags: superreview+
Attachment #133976 - Flags: review+
Status: NEW → ASSIGNED
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
Component: DOM: HTML → DOM: Core & HTML
QA Contact: ian → general
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: