Open Bug 925906 Opened 7 years ago Updated 3 years ago

MozSwipeGesture event no longer fires when no browser back history

Categories

(Core :: DOM: Events, defect, P5)

24 Branch
x86
macOS
defect

Tracking

()

UNCONFIRMED

People

(Reporter: sumyungguy99, Unassigned)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Firefox/24.0 (Beta/Release)
Build ID: 20130910160258

Steps to reproduce:

Since Firefox 23 (or maybe earlier), the MozSwipeGesture event no longer fires, if there is no "back" history in the tab. This breaks the functionality of the "Back To Close" addon: https://addons.mozilla.org/en-US/firefox/addon/back-to-close/

Previously, with the "Back To Close" addon installed, doing a trackpad swipe gesture on Mac OS X to go back (browser.gesture.swipe.left), when there is no further "back" history, would close the tab, as per the intended functionality of the addon.


Actual results:

Since at least FF23, nothing happens anymore. I have confirmed through testing that the addon receives the MozSwipeGesture event when there is a "back" history. However, when there is no "back" history, the event is no longer generated by Firefox, thus breaking the addon.


Expected results:

The "Back To Close" addon should function normally, receiving the MozSwipeGesture event when there is no "back" history, and closing the tab.
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046

Move all DOM bugs that haven’t been updated in more than 3 years and has no one currently assigned to P5.

If you have questions, please contact :mdaly.
Priority: -- → P5
You need to log in before you can comment on or make changes to this bug.