Closed
Bug 820497
Opened 12 years ago
Closed 12 years ago
click-to-play: asynchronously adding different plugins won't update the popup notification
Categories
(Firefox :: General, defect)
Firefox
General
Tracking
()
VERIFIED
FIXED
Firefox 20
People
(Reporter: keeler, Assigned: keeler)
References
Details
Attachments
(4 files, 1 obsolete file)
(deleted),
image/png
|
Details | |
(deleted),
patch
|
keeler
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
keeler
:
review+
lsblakk
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
keeler
:
review+
lsblakk
:
approval-mozilla-esr17+
|
Details | Diff | Splinter Review |
bug 754472 comment 41:
(In reply to Paul Silaghi [QA] from comment #41)
> Nightly 2012-12-10 Win 7 x64
> 1. Enable CTP
> 2. Open http://wickedgoodgames.com/java2/asteroids.html
> 3. Click the CTP doorhanger
>
> Actual results:
> Java is not on the list
> http://img24.imageshack.us/img24/181/ctpjava.png
>
> Any ideas? Works fine with other pages like
> http://mozqa.com/data/firefox/plugins/plugin-test.html
After a bit of investigation, it looks like if a plugin of a different type than those already present is added to the page after the others have been handled, the popup notification won't get updated to include the new type.
Assignee | ||
Comment 1•12 years ago
|
||
This should do it. Unfortunately, it also means having a whole bunch of the same type of plugin objects on the same page will result in a lot of wasted work. I'm thinking a cached list of what types are already on the page could help? But maybe that's over-complicating things.
Attachment #691073 -
Flags: review?(jaws)
Comment 2•12 years ago
|
||
Comment 3•12 years ago
|
||
Comment on attachment 691073 [details] [diff] [review]
patch
Review of attachment 691073 [details] [diff] [review]:
-----------------------------------------------------------------
::: browser/base/content/test/browser_bug820497.js
@@ +35,5 @@
> + var notification = PopupNotifications.getNotification("click-to-play-plugins", gTestBrowser);
> + ok(notification, "should have popup notification");
> + is(notification.options.centerActions.length, 1, "should be 1 type of plugin in the popup notification");
> + }
> + else if (gNumPluginBindingsAttached == 2) {
} else if (...) {
@@ +49,5 @@
> + gBrowser.removeCurrentTab();
> + window.focus();
> + finish();
> + }
> + else {
} else {
Attachment #691073 -
Flags: review?(jaws) → review+
Assignee | ||
Comment 4•12 years ago
|
||
Had to rebase. Carrying over r+.
Try run: https://tbpl.mozilla.org/?tree=Try&rev=24edbe6acce5
Pushed to inbound: https://hg.mozilla.org/integration/mozilla-inbound/rev/3aa1bed744bb
Attachment #691073 -
Attachment is obsolete: true
Attachment #693176 -
Flags: review+
Comment 5•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 20
Comment 6•12 years ago
|
||
Verified fixed on Nightly 2012-12-20 Win 7 x64, Ubuntu 12.04 and Mac OS X 10.8.2
Status: RESOLVED → VERIFIED
Assignee | ||
Comment 7•12 years ago
|
||
Marking tracking-firefox19? as per bug 809846 comment 32 and 33.
tracking-firefox19:
--- → ?
Assignee | ||
Updated•12 years ago
|
tracking-firefox-esr17:
--- → ?
Comment 8•12 years ago
|
||
Please prepare patches for Aurora/Beta/ESR17 so that we can land before the end of the week.
status-firefox18:
--- → wontfix
status-firefox19:
--- → affected
status-firefox20:
--- → affected
tracking-firefox20:
--- → +
Assignee | ||
Comment 9•12 years ago
|
||
[Approval Request Comment]
Bug caused by (feature/regressing bug #): click-to-play
User impact if declined: users won't be able to use the door-hanger to activate plugins added to the page dynamically
Testing completed (on m-c, etc.): landed in 20
Risk to taking this patch (and alternatives if risky): low
String or UUID changes made by this patch: none
Attachment #706048 -
Flags: review+
Attachment #706048 -
Flags: approval-mozilla-beta?
Assignee | ||
Comment 10•12 years ago
|
||
[Approval Request Comment]
If this is not a sec:{high,crit} bug, please state case for ESR consideration: needed for click-to-play
User impact if declined: see previous comment
Fix Landed on Version: 20
Risk to taking this patch (and alternatives if risky): low
String or UUID changes made by this patch: none
See https://wiki.mozilla.org/Release_Management/ESR_Landing_Process for more info.
Attachment #706050 -
Flags: review+
Attachment #706050 -
Flags: approval-mozilla-esr17?
Assignee | ||
Comment 11•12 years ago
|
||
This is fixed in 20, so no need for an aurora patch. I'm carrying over r+ because the changes are not functional - just to make them apply cleanly to the different branches.
Comment 12•12 years ago
|
||
verified FF 20 in comment 6
Comment 13•12 years ago
|
||
Comment on attachment 706048 [details] [diff] [review]
patch for beta
verified fixed, low risk, approving.
Attachment #706048 -
Flags: approval-mozilla-beta? → approval-mozilla-beta+
Updated•12 years ago
|
Attachment #706050 -
Flags: approval-mozilla-esr17? → approval-mozilla-esr17+
Assignee | ||
Comment 14•12 years ago
|
||
Assignee | ||
Comment 15•12 years ago
|
||
Shoot - I didn't mean to change the status-firefox20 flag. Sorry about that, Paul.
Comment 16•12 years ago
|
||
Verified fixed FF 19b4 Win7, Ubuntu 12.04, Mac OS X 10.7.5
Comment 17•12 years ago
|
||
Adding verifyme keyword as this will need verification in the next 17esr release.
Keywords: verifyme
Comment 18•12 years ago
|
||
(In reply to Anthony Hughes, Mozilla QA (:ashughes) from comment #17)
> Adding verifyme keyword as this will need verification in the next 17esr
> release.
Paul, if you don't want to wait for the release you can verify this with the latest 17esr nightly.
Comment 19•12 years ago
|
||
Verified fixed 2013-01-30-03-45-01-mozilla-esr17 Win7, Ubuntu 12.04, Mac OS X 10.8.2
Keywords: verifyme
Updated•12 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•