Closed Bug 220198 Opened 21 years ago Closed 21 years ago

helperappservice qi's to httpchannel when it wants encodedchannel

Categories

(Core Graveyard :: File Handling, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla1.6alpha

People

(Reporter: Biesinger, Assigned: Biesinger)

Details

Attachments

(1 file)

nsExternalHelperAppService.cpp: nsCOMPtr<nsIHttpChannel> httpChannel = do_QueryInterface( aChannel ); if (httpChannel) { // Turn off content encoding conversions if needed [... some stuff not involving httpChannel...] nsCOMPtr<nsIEncodedChannel> encodedChannel(do_QueryInterface(httpChannel)); NS_ENSURE_TRUE(encodedChannel, NS_ERROR_UNEXPECTED); encodedChannel->SetApplyConversion( applyConversion ); } this should really directly qi to nsIEncodedChannel, instead of via httpChannel
Attachment #132085 - Flags: superreview?(darin)
Attachment #132085 - Flags: review?(bzbarsky)
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.6alpha
Attachment #132085 - Flags: superreview?(darin) → superreview+
Comment on attachment 132085 [details] [diff] [review] patch r=bzbarsky
Attachment #132085 - Flags: review?(bzbarsky) → review+
Checking in nsExternalHelperAppService.cpp; /cvsroot/mozilla/uriloader/exthandler/nsExternalHelperAppService.cpp,v <-- nsExternalHelperAppService.cpp new revision: 1.220; previous revision: 1.219 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: