Closed Bug 239140 Opened 21 years ago Closed 20 years ago

Hard coded browser references in download.js

Categories

(Firefox :: Settings UI, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: mscott, Assigned: mscott)

References

Details

The pref window chrome url is a hard coded browser urrl in the new download manager: var topWindow = windowManagerInterface.getMostRecentWindow("Browser:Options"); if (topWindow) { topWindow.focus(); topWindow.switchPage("catDownloadsButton"); } else openDialog("chrome://browser/content/pref/pref.xul", "PrefWindow", "chrome,titlebar,resizable,modal", "catDownloadsButton"); I can make this more generic for thunderbird by making the prefwindow chrome URL a preference which both apps can set. But that won't help with the search for "Browser:Options" and "catDownloadsButton". Ben do you think I should just ifdef this with the thunderbird specific stuff or create 3 preference strings: 1) pref window chrome url 2) name of the options dialog (Browser:OPtions, Mail:Options) 3) catDownloadsButton id (I can probably just make sure I use the same id here)
Blocks: 239136
I think this bug is obsolete. The download manager no longer has UI hooks to the options dialog IIRC.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
sorry for bugspam, long-overdue mass reassign of ancient QA contact bugs, filter on "beltznerLovesGoats" to get rid of this mass change
QA Contact: mconnor → preferences
You need to log in before you can comment on or make changes to this bug.