Closed Bug 283914 Opened 20 years ago Closed 20 years ago

Not prompted to add site to whitelist when clicking Forecastfox XPI link

Categories

(Toolkit :: Add-ons Manager, defect)

x86
Windows XP
defect
Not set
major

Tracking

()

VERIFIED DUPLICATE of bug 274271

People

(Reporter: RyanVM, Assigned: bugs)

References

()

Details

(Keywords: regression)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050227 Firefox/1.0+
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050227 Firefox/1.0+

When using a profile where forecastfox.mozdev.org is not in the extensions
whitelist, clicking on the "Install" link does nothing. If I manually enter the
options and add it to the whitelist, clicking the link works fine and the
extension installs normally.

Reproducible: Always

Steps to Reproduce:
1. Use a profile where forecastfox.mozdev.org is not on the extensions allowed
sites whitelist
2. Visit URL cited by the bug
3. Click the "Install" link

Actual Results:  
Nothing happens.

Expected Results:  
Yellow information bar should appear allowing me to add the site to the whitelist.
Severity: normal → major
Summary: Not prompted to add site to whitelist when clicking XPI link → Not prompted to add site to whitelist when clicking Forecastfox XPI link
I saw this as well in yesterday's firefox trunk nightly (WinXP-SP2)...

Tried adding www.hacksrus.com to install Chatzilla, but nothing popped up when
clicking the button.

Anybody know when this broke? or if it is intentional?
Keywords: regression
I want to say this broke right around the same time bsmedberg checked in his big
set of changes last week. I'll look at recent nightlies and see if I can track
it down.
Well, I've gone back as far as the 12-23 nightly so far and the problem still
exists. Looking at the page source, I'm wondering if the problem lies in how the
code is being read.
<a
href="http://ftp.mozilla.org/pub/mozilla.org/extensions/forecastfox/forecastfox-0.7-fx+mz.xpi"
onclick="return install(this, 'ForecastFox 0.7');">install</a>

I remember a patch being submitted awhile back (the number escapes me) that had
to do with the onclick stuff. Maybe that's causing the problems? I'm going to
keep going back in builds, though. Would be nice to track down when the issue
first arose.
I've confirmed with the latest Aviary 1.0.1 nightly that the page works fine
with that. So at least it's confirmed that this is a trunk-only bug.

That being said, I've gone back as far as the September 1 nightly trunk build
and the same problem exists, so this is clearly a long-standing bug. Which means
this is probably also a dupe of another bug.
When I click the Install link on
http://www.blueprintit.co.uk/~dave/web/firefox/jsoptions/index.html to install
the Javascript Options Extension, I only get a Save As window instead of a
prompt to add the site to the whitelist.

Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8b2) Gecko/20050226
Firefox/1.0+

*** This bug has been marked as a duplicate of 274271 ***
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → VERIFIED
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.