Bug#772923: "Update Now" link on about:addons -> Plugins points to bad URL
Samuel Bronson
naesten at gmail.com
Fri Feb 20 00:22:34 UTC 2015
Package: iceweasel
Version: 31.4.0esr-1~deb7u1
Followup-For: Bug #772923
This happens on stable too, except I get
<https://addons.mozilla.org/en-US/firefox/iceweasel/blocked/p796>, not
reporter's <https://addons.mozilla.org/en-US/iceweasel/blocked/p796>,
when we should both be getting the content of
<https://addons.mozilla.org/en-US/firefox/blocked/p796>.
To summarize: I'm getting "firefox/iceweasel", he's getting
"iceweasel", and the actual working URL has "firefox".
(Now if only the actual page was more informative; the best part was
the bugzilla link...)
======
... and then I did something that made iceweasel notice I'd updated Flash,
so I realized this wasn't terribly easy to reproduce.
Thankfully, there is some information at
<http://benjamin.smedbergs.us/tests/ctptests/#single-outdated> that
should help; the steps are as follows:
1. set the pref "extensions.blocklist.url" to
<http://benjamin.smedbergs.us/tests/ctptests/block-java-outdated.xml>
(without the brackets)
2. evaluate the following JS in chrome context (supposedly
Ctrl-Shift-J will help):
Components.classes["@mozilla.org/extensions/blocklist;1"].getService(Components.interfaces.nsITimerCallback).notify(null);
3. Now, install a Java plugin, e.g. icedtea-6-plugin or icedtea-7-plugin.
4. Then, go to <about:addons> and switch to the Plugins tab.
Your Java plugin should be marked as out-of-date, with an "Update Now"
link to the right; that link is the one you want to test, and I get:
<https://addons.mozilla.org/en-US/firefox/iceweasel/blocked/p-bug880735-test-outdated>
when I should get:
<https://addons.mozilla.org/en-US/firefox/blocked/p-bug880735-test-outdated>.
Unfortunately, with this test case, neither URL actually works.
I suspect that you will find that the preference
"extensions.blocklist.itemURL" is core to this issue; it's default value is
"https://addons.mozilla.org/%LOCALE%/%APP%/blocked/%blockID%".
-- Addons package information
ii iceweasel 31.4.0esr-1~ amd64 Web browser based on Firefox
-- System Information:
Debian Release: 7.8
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages iceweasel depends on:
ii debianutils 4.3.2
ii fontconfig 2.9.0-7.1
ii libasound2 1.0.25-4
ii libatk1.0-0 2.4.0-2
ii libc6 2.13-38+deb7u7
ii libcairo2 1.12.2-3
ii libdbus-1-3 1.6.8-1+deb7u6
ii libdbus-glib-1-2 0.100.2-1
ii libevent-2.0-5 2.0.19-stable-3+deb7u1
ii libffi5 3.0.10-3
ii libfontconfig1 2.9.0-7.1
ii libfreetype6 2.4.9-1.1
ii libgcc1 1:4.7.2-5
ii libgdk-pixbuf2.0-0 2.26.1-1
ii libglib2.0-0 2.33.12+really2.32.4-5
ii libgtk2.0-0 2.24.10-2
ii libhunspell-1.3-0 1.3.2-4
ii libpango1.0-0 1.30.0-1
ii libsqlite3-0 3.7.13-1+deb7u1
ii libstartup-notification0 0.12-1
ii libstdc++6 4.7.2-5
ii libx11-6 2:1.5.0-1+deb7u1
ii libxext6 2:1.3.1-2+deb7u1
ii libxrender1 1:0.9.7-1+deb7u1
ii libxt6 1:1.1.3-1+deb7u1
ii procps 1:3.3.3-3
ii zlib1g 1:1.2.7.dfsg-13
iceweasel recommends no packages.
Versions of packages iceweasel suggests:
pn fonts-mathjax <none>
pn fonts-oflb-asana-math <none>
ii fonts-stix [otf-stix] 1.1.0-1
ii libcanberra0 0.28-6
ii libgnomeui-0 2.24.5-2
ii libgssapi-krb5-2 1.10.1+dfsg-5+deb7u3
pn mozplugger <none>
-- no debconf information
More information about the pkg-mozilla-maintainers
mailing list