Closed
Bug 523133
Opened 15 years ago
Closed 15 years ago
Soft blocked plugin not showing warning and info link in Add-ons Manager (1.9.1 only)
Categories
(Toolkit :: Add-ons Manager, defect)
Tracking
()
VERIFIED
FIXED
Tracking | Status | |
---|---|---|
status1.9.2 | --- | unaffected |
blocking1.9.1 | --- | .6+ |
status1.9.1 | --- | .6-fixed |
People
(Reporter: davemgarrett, Assigned: mossop)
References
Details
(Whiteboard: [mozmill-test-needed])
Attachments
(2 files)
26.57 KB,
image/png
|
Details | |
4.95 KB,
patch
|
robert.strong.bugs
:
review+
dveditz
:
approval1.9.1.6+
|
Details | Diff | Splinter Review |
1) New profile in latest Shiretoko or stable Firefox 3.5, with the Flash plugin installed.
2) In about:config, set extensions.blocklist.url to https://bug455906.bugzilla.mozilla.org/attachment.cgi?id=346066
3) Force a blocklist update. Can be done by executing the following in the Error Console's code line: Components.classes['@mozilla.org/extensions/blocklist;1'].getService(Components.interfaces.nsITimerCallback).notify(null)
4) The blocklist window should now come up to tell you that Shockwave Flash is soft blocked, with the appropriate option to override. (the test list has other items not relevant to this test here) Allow it to be disabled and click the restart button.
5) When it comes back, go to the Add-ons Manager plugin pane. Note the Flash entry is now disabled, however it is shown the same as any other disabled plugin.
6) Exit and load up the same profile in latest Namoroka or Minefield. Check the entry in the Add-ons Manager again. This time it has the expected "Known to cause security or stability issues." warning label and "More Information" link. (screenshot attached)
If you instead opt to not disable in step 4, no change is observable in step 5, however the line will still show correctly in step 6. You can also try Namoroka first then switch to Shiretoko or use separate profiles; 1.9.1 branch doesn't seem to be able to show it in any case. This feature seems to work fine for soft blocked extensions, however.
Tested on both Windows XP and Linux. Note that 3.6a1 doesn't show the expected line; latest nightly is required for it to work correctly.
Reporter | ||
Updated•15 years ago
|
status1.9.2:
--- → unaffected
Assignee | ||
Comment 1•15 years ago
|
||
I have a simple fix in progress for this, would like to block the next
available 1.9.1 release on this.
Assignee: nobody → dtownsend
blocking1.9.1: --- → ?
Assignee | ||
Comment 2•15 years ago
|
||
This is a backport of a few hunks of the patch in bug 514327 which properly checks the softblock state of plugins. Trying to work out if it is possible to test this automatically.
Comment 3•15 years ago
|
||
dave, if it cant be automated, please flag in-litmus? so we can get a manual test added into litmus.
Updated•15 years ago
|
Comment 4•15 years ago
|
||
Comment on attachment 407063 [details] [diff] [review]
patch rev 1
Please request approval1.9.1.5? after you get reviews.
Assignee | ||
Updated•15 years ago
|
Attachment #407063 -
Flags: review?(robert.bugzilla)
Comment 5•15 years ago
|
||
Comment on attachment 407063 [details] [diff] [review]
patch rev 1
Looks good. Could you also update trunk with
const nsIBlocklistService = Components.interfaces.nsIBlocklistService;
and replace Components.interfaces.nsIBlocklistService with BlocklistService?
Attachment #407063 -
Flags: review?(robert.bugzilla) → review+
Assignee | ||
Comment 6•15 years ago
|
||
I don't think we can automate the testing here, we'll need a litmus test. The steps in comment 0 can provide a base.
Flags: in-litmus?
Assignee | ||
Comment 7•15 years ago
|
||
(In reply to comment #5)
> (From update of attachment 407063 [details] [diff] [review])
> Looks good. Could you also update trunk with
> const nsIBlocklistService = Components.interfaces.nsIBlocklistService;
>
> and replace Components.interfaces.nsIBlocklistService with BlocklistService?
Trunk already has this
Assignee | ||
Updated•15 years ago
|
Attachment #407063 -
Flags: approval1.9.1.5?
Reporter | ||
Comment 8•15 years ago
|
||
It might be nice to cover both the plugin and extension case of this in the litmus test, if possible.
Updated•15 years ago
|
Attachment #407063 -
Flags: approval1.9.1.5? → approval1.9.1.5+
Comment 9•15 years ago
|
||
Comment on attachment 407063 [details] [diff] [review]
patch rev 1
Approved for 1.9.1.5, a=dveditz for release-drivers
Assignee | ||
Comment 10•15 years ago
|
||
Looks like I accidentally had this patch already applied in my 1.9.1 tree when I landed bug 372980 so this has actually already landed in http://hg.mozilla.org/releases/mozilla-1.9.1/rev/2f9a687a93f1. I'll try to avoid this in the future.
Assignee | ||
Updated•15 years ago
|
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Updated•14 years ago
|
Flags: in-litmus? → in-litmus?(vlad.maniac)
Comment 11•14 years ago
|
||
Verified fixed with Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.16pre) Gecko/20101105 Shiretoko/3.5.16pre
That would be a perfect test for Mozmill.
Status: RESOLVED → VERIFIED
Hardware: x86 → All
Whiteboard: [mozmill-test-needed]
Comment 12•14 years ago
|
||
The 1.9.1 branch will be abandoned soon so I will not add a Litmus test for it. In general the following test should be enough because we have a couple of automated tests meanwhile: https://litmus.mozilla.org/show_test.cgi?id=15309
Flags: in-litmus?(vlad.maniac) → in-litmus-
You need to log in
before you can comment on or make changes to this bug.
Description
•