Closed Bug 124762 Opened 23 years ago Closed 23 years ago

[FIX]Save Link As Doesn't Work On FTP

Categories

(Core Graveyard :: File Handling, defect, P1)

defect

Tracking

(Not tracked)

VERIFIED FIXED
mozilla0.9.9

People

(Reporter: CatamountJack, Assigned: bzbarsky)

References

(Depends on 1 open bug, )

Details

(Whiteboard: [xul dirviewer])

Attachments

(1 file)

Save Link As... in the context menu won't work for FTP listings, but only when
"Enable html directory listing" is *unchecked* under the debug menu in
preferences.  Viewing an html listing with this checked or unchecked works still.

Steps to reproduce:
1.  Uncheck "Enable html directory listing" in Edit|Preferences|Debug|Networking
2.  Go to ftp://ftp.mozilla.org/pub/mozilla/nightly/latest-trunk
3.  Right click on one of the files and click "Save Link As..."

Expected result:
Save as dialog comes up

Actual result:
Nothing happens.  Note, if you go to
http://ftp.mozilla.org/pub/mozilla/nightly/latest-trunk and click on "Save Link
As..." in the context menu, it'll work fine.
-> file handing

Error: this.link.getAttribute is not a function
Source File: chrome://communicator/content/nsContextMenu.js
Line: 583

Status: UNCONFIRMED → NEW
Ever confirmed: true
Whiteboard: [xul dirviewer]
Really to file handling
Assignee: bbaetz → law
Component: Networking: FTP → File Handling
QA Contact: benc → sairuh
wait... Why's this.link.getAttribute not a function?  Isn't this.link a node?
OS: Windows XP → All
Hardware: PC → All
Attached patch proposed patchSplinter Review
A little hacky, but it works...
Comment on attachment 68820 [details] [diff] [review]
proposed patch

hacks-r-us

r=bbaetz
Attachment #68820 - Flags: review+
Comment on attachment 68820 [details] [diff] [review]
proposed patch

sr=jag
Attachment #68820 - Flags: superreview+
taking this to check in
Assignee: law → bzbarsky
Priority: -- → P1
Summary: Save Link As Doesn't Work On FTP → [FIX]Save Link As Doesn't Work On FTP
Target Milestone: --- → mozilla0.9.9
checked in.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
well, as of today's build (2002.04.09 comm), i don't get a context menu at all
when my ftp listing uses the xul format. filed bug 136490 for that --although
imho i'd rather see bug 102812 fixed...
Depends on: 136490
Keywords: verifyme
rs vrfy --see bug 136490 for the lack-of-context-menu issue...
Status: RESOLVED → VERIFIED
Keywords: verifyme
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: