Closed Bug 164454 Opened 23 years ago Closed 4 years ago

Dialog "Enter name of file to save to..." does not appear

Categories

(Firefox :: File Handling, defect)

x86
Linux
defect
Not set
major

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: relf, Unassigned)

References

()

Details

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1b) Gecko/20020809 Debian/1.0.0-0.woody.1 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1b) Gecko/20020809 Debian/1.0.0-0.woody.1 After choosing "Save this file to disk..." option in "Downloading..." dialog nothing happens. Reproducible: Always Steps to Reproduce: 1. Go to the URL 2. Press [Download] button 3. Mozilla shows dialog "Downloading presario7200_7600.pdf", choose "Save this file to disk..." there and press Ok 4. Nothing happens. Mozilla does not open dialog to choose filename and location where to save the file.
do you see this with a .mozilla.org build?
The build is taken from ftp://ftp.mozilla.org
QA Contact: sairuh → petersen
Max, are you still experiencing this problem? It sounds like mozilla has just remembered a preference to download these files instead of using a helper applicaiton. Please try the following with a current copy of mozilla: 1) Open preferences (Edit->Preferences). 2) Select Navigator->Helper Applications. 3) In the "File types" box, look for an entry "application/pdf". If it's present, remove it or edit it to perform the action you want.
I still see the bug with 2003031405 build. Helper application for pdf is "Save it to Disk", but Mozilla doesn't do so.
So... in an attempt to narrow down the problem, does this happen with a clean profile (created via "mozilla -ProfileManager")?
Newly created profile also has the problem.
BTW, the problem is linux specific. OS/2 builds work fine.
Yeah, well... I'm not seeing the problem on Linux, hence all the questions....
In console Mozilla 2003031908 reports the following: Error loading URL javascript:StartDownload(33242, 'ftp://ftp.compaq.com/pub/supportinformation/consumerdocs/Consumer_QRG/presario7200_7600.pdf'); : 805303f5 Document ftp://ftp.compaq.com/pub/supportinformation/consumerdocs/Consumer_QRG/presario7200_7600.pdf loaded successfully unable to open file picker [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMJSWindow.open]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: http://www29.compaq.com/falco/sp_common.js :: openDialog :: line 84" data: no]
hm... that exception looks totally out of place there (that's not an exception that would abort filepicker creation, yet the "unable to open file picker" line comes from http://lxr.mozilla.org/seamonkey/source/xpfe/components/filepicker/src/nsFilePicker.js#223
I'm using build ID 20030531. I can reproduce this using a brand new profile. After loading the sample URL, I do the following: 1) Click on the "Download" link for the "QRG for the Presario 7200 and 7600 Series PC". 2) Mozilla opens a small popup window in the top right corner, then closes it. Then the open with application/save to disk picker opens. During this step, mozilla prints the following to stdout/stderr: WEBSHELL+ = 4 WEBSHELL+ = 5 CSS Error (http://www29.compaq.com/falco/Softpaq.css :120.24): Error in parsing value for property 'font-weight'. Declaration dropped. WEBSHELL- = 4 WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(EnsureScriptEnvironment())) failed, file /home/kherron/cvs/mozilla/docshell/base/nsWebShell.cpp, line 315 Document ftp://ftp.compaq.com/pub/supportinformation/consumerdocs/Consumer_QRG/presario7200_7600.pdf loaded successfully ###!!! ASSERTION: Channel doesn't have a prompt!!!: 'prompt', file /home/kherron/cvs/mozilla/netwerk/protocol/ftp/src/nsFTPChannel.cpp, line 523 Break: at file /home/kherron/cvs/mozilla/netwerk/protocol/ftp/src/nsFTPChannel.cpp, line 523 WEBSHELL+ = 5 WEBSHELL- = 4 3) Select "Save it to disk" and click "OK". The window closes. The file picker window doesn't open and mozilla prints the following to stdout/stderr: Security Error: Content at http://www29.compaq.com/falco/doc_result.asp?Model=3280&Os=0 may not load or link to chrome://global/content/filepicker.xul. unable to open file picker [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMJSWindow.open]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: http://www29.compaq.com/falco/sp_common.js :: openDialog :: line 84" data: no] ************************************************************ * Call to xpconnect wrapped JSObject produced this error: * [Exception... "'[JavaScript Error: "this.mFilesEnumerator has no properties" {file: "file:///home/kherron/cvs/mozilla-gtk2/dist/bin/components/nsFilePicker.js" line: 88}]' when calling method: [nsIFilePicker::file]" nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)" location: "JS frame :: file:///home/kherron/cvs/mozilla-gtk2/dist/bin/components/nsHelperAppDlg.js :: anonymous :: line 173" data: yes] ************************************************************ ************************************************************ * Call to xpconnect wrapped JSObject produced this error: * [Exception... "'[JavaScript Error: "this.mFilesEnumerator has no properties" {file: "file:///home/kherron/cvs/mozilla-gtk2/dist/bin/components/nsFilePicker.js" line: 88}]' when calling method: [nsIFilePicker::file]" nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)" location: "JS frame :: file:///home/kherron/cvs/mozilla-gtk2/dist/bin/components/nsHelperAppDlg.js :: anonymous :: line 173" data: yes] ************************************************************ WEBSHELL- = 3 WARNING: nsTimeoutImpl::Release() proceeding without context., file /home/kherron/cvs/mozilla/dom/src/base/nsGlobalWindow.cpp, line 5120 The errors noted above also appear in the javascript console. I spent a little time with the JS debugger but couldn't come up with anything useful. I didn't see any direct references to any chrome: URLs as the security error above would imply.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Over to Mitch, since this looks like caps is being confused (though this may also be a problem with that ftp assert.... darin? ideas?)
Assignee: law → mstoltz
I'll take a look.
Status: NEW → ASSIGNED
Assignee: security-bugs → file-handling
Status: ASSIGNED → NEW
QA Contact: chrispetersen → ian
Assignee: file-handling → nobody
QA Contact: ian → file-handling
Product: Core → Firefox
Version: Trunk → unspecified

Marking this as Resolved > Incomplete since the last activity on this issue was 19 years ago and it might not be relevant anymore.
Feel free to re-open if the issue is still reproducible on your end in the latest FF versions.

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.