Closed
Bug 256235
Opened 20 years ago
Closed 20 years ago
can't download files (no file picker displayed) for javascript-redirected sites -- XPSP2
Categories
(Toolkit :: Downloads API, defect)
Tracking
()
VERIFIED
FIXED
People
(Reporter: shaver, Assigned: shaver)
Details
(Keywords: fixed-aviary1.0)
Attachments
(3 files, 1 obsolete file)
33.82 KB,
text/plain
|
Details | |
927 bytes,
patch
|
Details | Diff | Splinter Review | |
2.45 KB,
patch
|
shaver
:
review+
shaver
:
superreview+
shaver
:
approval-aviary+
|
Details | Diff | Splinter Review |
Some people are reporting that: > 1. Go to http://www.divx.com/divx/download/index.php > 2. Click Download. > 3. Firefox will reload the page and will ask you to download the file (save to > disk). > 4. Hitting OK in the prompt will not display the Filepicker and you cannot > save the file. > > Seems to only effect: > > Win XP SP2 users with "Ask me where to save every file" enabled in the download > options on pages using javascript redirects (I apologize if that is the wrong > term) to download the file. SooOOooo, looks like it's related to my landing of bug 240723 on the aviary branch. Not sure if it also happens with Seamonkey (post jst's landing of the nsIFilePicker stuff, natch), but stephend the intrepid is chasing that for me. More as I find it. (Interesting trivia: there are 3 nsHelperAppDlg.js files pulled or produced in the firefox build, but only one is used/shipped!)
Assignee | ||
Comment 1•20 years ago
|
||
Doesn't seem to affect Seamonkey, hrm. jst is no doubt on the money with his comment: ------- Additional Comment #33 From Johnny Stenback 2004-08-19 22:24 PDT [reply] ------- This comment belongs in the other bug that doesn't exist yet, so until then, I'll put it here... Maybe the problem is that a closed window happens to be used as the parent of a file picker, seems like that could cause this exception to be thrown...
Comment 2•20 years ago
|
||
[Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIFilePicker.init]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: file:///C:/Program%20Files/Mozilla%20Firefox/components/nsHelperAppDlg.js :: anonymous :: line 155" data: no] Source File: file:///C:/Program%20Files/Mozilla%20Firefox/components/nsHelperAppDlg.js Line: 155
Assignee | ||
Comment 3•20 years ago
|
||
stephend yet again came through for me, and cycled on this a half-dozen times until I got something right enough to "fix" the problem. jst's looking at how the parent window got into this weird state, but in the meantime dropping this file into your <firefox dir>/components/ directory as nsHelperAppDlg.js (the exception message will have the path in it, I suspect) should let you download again. I'll check in this robustification later tonight, if someone -- or someones; tell all your forum friends! -- verifies that it works for them.
Assignee | ||
Comment 4•20 years ago
|
||
I bet jst would give me the old OK for this one.
Comment 5•20 years ago
|
||
This fixes the problem too. This is a trunk diff, but should apply to branch as well.
Updated•20 years ago
|
Attachment #156570 -
Flags: superreview?(shaver)
Attachment #156570 -
Flags: review?(shaver)
Comment 6•20 years ago
|
||
Attachment #156570 -
Attachment is obsolete: true
Updated•20 years ago
|
Attachment #156571 -
Flags: superreview?(shaver)
Attachment #156571 -
Flags: review?(shaver)
Updated•20 years ago
|
Attachment #156570 -
Flags: superreview?(shaver)
Attachment #156570 -
Flags: review?(shaver)
Assignee | ||
Comment 7•20 years ago
|
||
Comment on attachment 156571 [details] [diff] [review] Same as above with the nsIWidget leak fixed. I like it. Aviaryize as well, please!
Attachment #156571 -
Flags: superreview?(shaver)
Attachment #156571 -
Flags: superreview+
Attachment #156571 -
Flags: review?(shaver)
Attachment #156571 -
Flags: review+
Attachment #156571 -
Flags: approval-aviary+
Comment 8•20 years ago
|
||
Fixed on trunk and aviary branch.
Comment 9•20 years ago
|
||
Thank you all, fixed now. Next time I'll file a bug sooner. I just was too careful, sorry for that.
Verified FIXED with both Firefox 1.0 and the latest builds... (old, old bug).
Status: RESOLVED → VERIFIED
Updated•16 years ago
|
Product: Firefox → Toolkit
You need to log in
before you can comment on or make changes to this bug.
Description
•