Closed Bug 741132 Opened 12 years ago Closed 12 years ago

Plugin doorhanger reappears after switching tabs after Flash has been enabled

Categories

(Firefox for Android Graveyard :: General, defect)

ARM
Android
defect
Not set
normal

Tracking

(blocking-fennec1.0 +)

VERIFIED FIXED
Firefox 14
Tracking Status
blocking-fennec1.0 --- +

People

(Reporter: martijn.martijn, Assigned: Margaret)

References

()

Details

(Keywords: testcase, Whiteboard: [good first bug][mentor=jaws][lang=js])

Attachments

(1 file)

You need to have the "Tap to Play" setting enabled for plugins for this bug.

See url testcase, steps to reproduce:
- Make sure you have at least 2 tabs open
- Visit testcase, the plugin doorhanger appears after 2 seconds, ignore it by tapping outside of it.
- Tap on the first 'Tap here to activate plugin' plugin placeholder
- Tap on the 'Tap here to activate plugin' placeholder plugin
- Switch to another tab
- Switch back to this tab

Expected result:
- No plugin doorhanger appears, because Flash is already enabled on the page.

Actual result:
- Plugin doorhanger appears.

Tested in today's trunk Fennec Native build on the Samsung Galaxy SII.
Whiteboard: [good first bug][mentor=jwein][lang=js]
Whiteboard: [good first bug][mentor=jwein][lang=js] → [good first bug][mentor=jaws][lang=js]
Blocks: 744060
Attached patch patchSplinter Review
Quick simple patch.

The call to playAllPlugins in the doorhanger button callback takes care of hiding the doorhanger for us, and this is the only other place we call playAllPlugins, so this is the only place we need to worry about hiding the doorhanger if it's been shown.
Assignee: nobody → margaret.leibovic
Attachment #614207 - Flags: review?(mark.finkle)
Attachment #614207 - Flags: review?(mark.finkle) → review+
blocking-fennec1.0: --- → +
https://hg.mozilla.org/integration/mozilla-inbound/rev/9135a11eb1a2
Target Milestone: --- → Firefox 14
https://hg.mozilla.org/mozilla-central/rev/9135a11eb1a2
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Verified fixed in today's trunk build (2012-04-14) on the Samsung Galaxy SII.
Status: RESOLVED → VERIFIED
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: