Closed Bug 710240 Opened 8 years ago Closed 8 years ago

Tapping on "Tap to play" link reloads page instead of playing plugin

Categories

(Firefox for Android :: General, defect)

defect
Not set

Tracking

()

VERIFIED FIXED

People

(Reporter: Margaret, Assigned: Margaret)

References

Details

Attachments

(1 file)

Somehow the link is capturing the event before the plugin object can use it. The click listener is attached to the plugin object, but the addPluginLinkCallback code we stole from desktop assumes you're just attaching to that link. I think we might need to add an event listener to the link as well.

(You can't test this in Nightly because bug 707886 hasn't landed yet.)
Attached patch patchSplinter Review
Looking at this more closely, I'm not sure why the message is a link - we're not actually using it as a link, since we're attaching the click listener to the entire plugin object.
Attachment #581315 - Flags: review?(dolske)
Attachment #581315 - Flags: review?(dolske) → review+
https://hg.mozilla.org/mozilla-central/rev/a9337c4d018c
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Verified fixed on:
Fennec Nightly 13.0a1 (2012-02-14)
Device: Motorola Droid PRO (Android 2.3.3)
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.