Closed Bug 220111 Opened 21 years ago Closed 21 years ago

nsIDownload should indicate that Init must be called

Categories

(Core Graveyard :: File Handling, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: Biesinger, Assigned: Biesinger)

Details

Attachments

(1 file)

related: bug 220103 In my opinion, nsIDownload should make it clear that its Init function must be called prior to doing anything else with this interface, to reflect the behaviour of nsDownloadProxy.
Comment on attachment 132007 [details] [diff] [review] patch ok opinions on this change?
Attachment #132007 - Flags: review?(bz-vacation)
Status: NEW → ASSIGNED
Comment on attachment 132007 [details] [diff] [review] patch Looks good to me.
Attachment #132007 - Flags: review?(bz-vacation) → review+
Attachment #132007 - Flags: superreview?(darin)
Comment on attachment 132007 [details] [diff] [review] patch >Index: base/nsIDownload.idl > * Initializes the download with certain properties. >+ * This function must be called prior to accessing any properties on this >+ * interface. * Initializes the download with certain properties. This function must * be called prior to accessing any properties on this interface. nit pick... seems better to write the comment as a complete paragraph. but, sr=darin either way.
Attachment #132007 - Flags: superreview?(darin) → superreview+
checked in, with that change made Checking in base/nsIDownload.idl; /cvsroot/mozilla/uriloader/base/nsIDownload.idl,v <-- nsIDownload.idl new revision: 1.6; previous revision: 1.5 done
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: