Closed Bug 267214 Opened 20 years ago Closed 20 years ago

Installing theme Jar files from websites that don't use javascript to initiate the installation causes unpredictable results

Categories

(Toolkit :: Add-ons Manager, defect)

x86
Windows 98
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: asweintraub, Assigned: bugs)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.7.3) Gecko/20041026 Firefox/1.0RC1
Build Identifier: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.7.3) Gecko/20041026 Firefox/1.0RC1

When trying to install a theme via a link to the jar file (doesn't have the
javascript wrapper function), firefox has random results such as allowing a
download of the jar (via the download manager), installing the theme in the
theme manager, doing nothing, or performing a combination of the two.
If it attempts to install the theme in the theme manager, it *might* work, but
more often just shows the theme in the manager for a few seconds (as if it were
going to work) and then entry for the theme disapears.
I've experienced this problem with trying to install the phoenity theme from
http://phoenity.com/firefox.html.  I've confirmed that the theme was compatible
with my version of firefox (clicking on the link after a few failed tries oddly
worked).

Reproducible: Sometimes
Steps to Reproduce:
1.  Go to http://phoenity.com/firefox.html and try to install the phoenity theme
by clicking on the link to the jar file.  (the link shouldn't have a javascript
theme installation wrapper, but this may have changed)
2.
3.

Actual Results:  
Randomly does nothing, displays both the theme manager (which may or may not
work correctly), displays the download dialogue box, or a combination.

Expected Results:  
Because the link doesn't have the javascript wrapper function, the browser
should attempt to download the jar file.

Tried with phoenity on the theme's website.  I haven't scientifically tested
with other themes, but I do recall having problems with this sort of thing.
After investigating the situation further, it seems the problem might only be
with that one website (due to a malformed link), but I'm not sure.  I did,
however find a problem with dragging themes into the theme manager.  It seems
that the name of the theme is repeated so that mozilla tries to install a theme
from location "http://phoenity.com/downloads/phoenity.jarphoenity.jar" instead
of "http://phoenity.com/downloads/phoenity.jar".  If anyone else has this issue,
I'll file a bug for it.  Thanks.  (And if my etiquette is wrong, please correct
me as I'm  new to bugzilla).
link at http://phoenity.com/ is fixed, wfm: opens "What do you want to do with
this file" dialog.

Reporter, if you find a reproducible case for the bug, please reopen. Thanks.

(inconsistent behaviour is a bug even with malformed link).
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → WORKSFORME
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.