Closed Bug 45549 Opened 26 years ago Closed 26 years ago

Can't download .gz file

Categories

(SeaMonkey :: UI Design, defect, P3)

x86
Linux
defect

Tracking

(Not tracked)

VERIFIED WORKSFORME
Future

People

(Reporter: matt, Assigned: mscott)

References

()

Details

(Whiteboard: [nsbeta3-])

Build 2000071408, Linux 2.2.14 i686, RedHat 6.1 When trying to download a .gz file, I get as far as the dialog that says "The file has mime type application/gzip which can't be viewed in Mozilla..." I select "save to disk" and unselect "ask me next time", then click OK. What this gets me is: JavaScript error: line 0: uncaught exception: [Exception... "Component returned failure code: 0x8 0004001 (NS_ERROR_NOT_IMPLEMENTED) [nsIHelperAppLauncher.saveToDisk]" nsresult: The relevant JavaScript code from chrome/packages/widget-toolkit/global/content/helperAppLauncher.js is: // If the user presses OK, we do as requested... onOK : function () { // Get boolean switch from checkbox. var dontAskNextTime = !document.getElementById( "alwaysAskMe" ).checked; if ( document.getElementById( "runApp" ).checked ) { // SNIPPED } else { // *!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*!*! // This next line is 102, where the error happens this.appLauncher.saveToDisk( null, dontAskNextTime ); } window.close(); },
*** Bug 45550 has been marked as a duplicate of this bug. ***
Actually, after clicking OK in the "This file mime type" dialog, I get the filepicker dialog, and the JavaScript error happens when I click on the OK button of the filepicker.
reassigning to law
Assignee: asa → law
Component: Browser-General → XP Apps
setting defualt qa contact
QA Contact: doronr → sairuh
I'm passing this on to mscott. There are two things going on, I suspect. 1. Something is going wrong down in the guts of the backend helperapplauncher code, it seems (that's the NOT_IMPLEMENTED error that bubbles back up to the JS code). 2. There is likely a deeper problem. The "old" stream transfer code had to tweak the input http channel to turn off the automatic gzip decoding. I'm not sure where/how that will happen with the new helper app support code. gagan knows about this (he put the support in the http channel).
Assignee: law → mscott
over to tever for qa.
QA Contact: sairuh → tever
triaging.
Status: NEW → ASSIGNED
Keywords: correctness, nsbeta3
Target Milestone: --- → M18
Is this still a problem for anyone? I know I fixed the JS exception. Not sure what the current status is for the .gz decoding stuff.. future per triage meeting.
Whiteboard: [nsbeta3-]
Target Milestone: M18 → Future
i'm no longer seeing this, using 2000.08.25.08 comm bits on linux. steps i took: 1. went to http://www.mozilla.org, scrolled down to the nightly build section. 2. clicked on the i386 Linux link. 3. Unknown File Type dialog appears, i click Save File... 4. file picker appears, cd into an appropriate directory. 5. click OK in file picker, which goes away as well as the Unknown File Type dialog. 6. Saving progress dialog appears (filename and path displayed are incomplete --am trying to find that bug, coulda swore i saw it...blatherblather). result: downloading of the file completes as expected. here's the console output for this procedure, fyi: WEBSHELL+ = 4 Error loading URL http://ftp.mozilla.org/pub/mozilla/nightly/latest/mozilla-i686-pc-linux-gnu.tar.gz: 804b0002 -*- filepicker: CI: {c47de916-1dd1-11b2-8141-82507fa02b21} -*- filepicker: IID:nsIFilePicker nsIDOMWindow id value = {a6cf906b-15b3-11d2-932e-00805f8add32} WEBSHELL+ = 5 we don't handle eBorderStyle_close yet... please fix me WEBSHELL+ = 6 WEBSHELL- = 5 WEBSHELL- = 4 result native path = /u/sairuh/Tests/mozilla-i686-pc-linux-gnu.tar.gz i'll mark this wfm, if no one has objections...
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → WORKSFORME
qa to me. +URL from Sarah.
QA Contact: tever → benc
VERIFIED: Mozilla 0.9 all plats. "Cannot select "always aske me before opening or saving files of this type."
Status: RESOLVED → VERIFIED
Product: Core → Mozilla Application Suite
You need to log in before you can comment on or make changes to this bug.