Closed Bug 1284203 Opened 8 years ago Closed 8 years ago

Flash's "Ask to activate" prompt is triggered on all tabs, including unrelated ones

Categories

(Core Graveyard :: Plug-ins, defect)

50 Branch
defect
Not set
normal

Tracking

(firefox49 unaffected, firefox50 affected)

RESOLVED WORKSFORME
Tracking Status
firefox49 --- unaffected
firefox50 --- affected

People

(Reporter: Fanolian+BMO, Unassigned)

References

Details

(Keywords: regression)

Attachments

(2 files)

User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:50.0) Gecko/20100101 Firefox/50.0 Build ID: 20160703030210 Steps to reproduce: 0. Install Flash Player 22.0.0.192 (current version) on the system. 1. In a new profile, set Flash to "Ask to Activate". 2. Open a few dummy pages with no Flash contents, e.g. https://www.mozilla.org/en-US/firefox/nightly/firstrun/, https://www.mozilla.org/en-US/firefox/windows-10/welcome/. Check that there is no click-to-play prompts for now on location bars on these tabs. 3. Open a new tab, visit https://www.adobe.com/software/flash/about/ to trigger a click-to-play prompt. 4. Switch back to those dummy pages at step 2. Actual results: Click-to-play prompt appears on all unrelated tabs which do not have any Flash contents. (see attachment) Reloading dummy pages can untrigger the prompt. But reloading the Adobe page, which contains Flash contents, will make all prompts at all tabs come back. Expected results: Click-to-play prompt should be triggered on affected page only.
Blocks: 1186948
Has Regression Range: --- → yes
Has STR: --- → yes
Keywords: regression
The bug is even worse on my main profile. If I log in to https://www.inoreader.com/, click-to-play prompts are triggered on _all_ tabs, including system tabs like about:addons, about:home, about:newtab. However, I cannot reproduce this on new profiles.
[Tracking Requested - why for this release]: Regression
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: needinfo?(blassey.bugs)
Here's the problem: http://searchfox.org/mozilla-central/rev/ffcc65db736dd64dc3cbc49592f9edac77bf65ad/browser/modules/PluginContent.jsm#126 The Plugin::HiddenPluginTouched observer notification is firing, and so _every_ tab is sending up the click-to-play message to the parent. blassey is likely on holiday today due to July 4th. I think I'm going to back bug 1186948 out so we can take care of it once he gets back.
Flags: needinfo?(blassey.bugs)
Resolved via backout.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WORKSFORME
Removing tracking nom flag as the offending bug has been backed out and the issue should be resolved.
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: