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)
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)
1.12 KB,
patch
|
mfinkle
:
review+
|
Details | Diff | Splinter Review |
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.
Comment 1•12 years ago
|
||
Need to call |NativeWindow.doorhanger.hide(...)| in playAllPlugins at https://mxr.mozilla.org/mozilla-central/source/mobile/android/chrome/content/browser.js#3957
Updated•12 years ago
|
Whiteboard: [good first bug][mentor=jwein][lang=js]
Updated•12 years ago
|
Whiteboard: [good first bug][mentor=jwein][lang=js] → [good first bug][mentor=jaws][lang=js]
Assignee | ||
Comment 2•12 years ago
|
||
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)
Updated•12 years ago
|
Attachment #614207 -
Flags: review?(mark.finkle) → review+
Updated•12 years ago
|
blocking-fennec1.0: --- → +
Assignee | ||
Comment 3•12 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/9135a11eb1a2
Target Milestone: --- → Firefox 14
Comment 4•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/9135a11eb1a2
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 5•12 years ago
|
||
Verified fixed in today's trunk build (2012-04-14) on the Samsung Galaxy SII.
Status: RESOLVED → VERIFIED
Updated•3 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•