Closed
Bug 752461
Opened 13 years ago
Closed 13 years ago
First time after choosing to "Never activate plugins for this site" the video is still playing
Categories
(Core Graveyard :: Plug-ins, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
mozilla15
People
(Reporter: pauly, Assigned: keeler)
References
Details
Attachments
(1 file, 1 obsolete file)
(deleted),
patch
|
keeler
:
review+
|
Details | Diff | Splinter Review |
STR:
1. Make sure plugins.click_to_play pref is set on TRUE in about:config
2. Open http://www.youtube.com/
3. Click on a video
4. Click on the plugin icon in the location bar
5. Choose to "Never activate plugins for this site"
6. Click on the video screen
Expected results:
The video should not play
Actual results:
The video starts playing
Assignee | ||
Comment 1•13 years ago
|
||
To clarify, are you saying that if a user chooses "Never activate plugins...", when they then click on a plugin, it should not play? If so, I think this might confuse users ("I clicked on the plugin, but it's not playing?"). In fact, I think we should get rid of the "never activate plugins..." option altogether, because all we're really saying there is "never activate plugins automatically on this site", which is what happens if you have click-to-play enabled in the first place.
Comment 2•13 years ago
|
||
Fixing this bug is pretty simple, we should just iterate through the plugins array and hide the overlay.
As far as the ability to always deny, the benefit is that viewing pages doesn't show the overlay and the notification icon won't appear. I don't think we should remove this ability.
Assignee | ||
Comment 3•13 years ago
|
||
Comment 4•13 years ago
|
||
Comment on attachment 622134 [details] [diff] [review]
patch + test
Review of attachment 622134 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good! Thanks :)
Attachment #622134 -
Flags: feedback+
Comment 5•13 years ago
|
||
Comment on attachment 622134 [details] [diff] [review]
patch + test
Review of attachment 622134 [details] [diff] [review]:
-----------------------------------------------------------------
r=me with the one change mentioned below.
::: browser/base/content/browser.js
@@ +7333,5 @@
> messageString, "plugins-notification-icon",
> mainAction, secondaryActions, options);
> },
>
> + removeClickToPlayOverlays: function (aContentWindow) {
Please put an underscore in front of the function name here and name the anonymous function PH_removeClickToPlayOverlays.
Attachment #622134 -
Flags: review?(joshmoz) → review+
Assignee | ||
Comment 6•13 years ago
|
||
Updated patch per jaws' comments. Carrying over r+
Try run: https://tbpl.mozilla.org/?tree=Try&rev=9c46687a0659
Attachment #622134 -
Attachment is obsolete: true
Attachment #622152 -
Flags: review+
Assignee | ||
Updated•13 years ago
|
Keywords: checkin-needed
Comment 7•13 years ago
|
||
Comment 8•13 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 9•13 years ago
|
||
Black screen instantly appears when choosing to "Never activate plugins for this site".
Verified fixed on FF 15.0a1 (2012-05-10) on Win 7/64, Ubuntu 12.04 and Mac OS X 10.7.
Status: RESOLVED → VERIFIED
Reporter | ||
Comment 10•13 years ago
|
||
(In reply to Jared Wein [:jaws] from comment #2)
> As far as the ability to always deny, the benefit is that viewing pages
> doesn't show the overlay and the notification icon won't appear. I don't
> think we should remove this ability.
One disadvantage of this would be that if someone else will use the computer or event the owner after a long time might don't know why youtube.com apparently doesn't work.
In fact it's the same functionality, both with or without the CtP notification.
Updated•3 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•