mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 855916 Add a debug pref which allows moz gesture events through content r=jimm
This commit is contained in:
parent
20f5731339
commit
6f04460de4
@ -1232,3 +1232,6 @@ pref("plain_text.wrap_long_lines", true);
|
||||
pref("media.webaudio.enabled", true);
|
||||
#endif
|
||||
|
||||
// If this turns true, Moz*Gesture events are not called stopPropagation()
|
||||
// before content.
|
||||
pref("dom.debug.propagate_gesture_events_through_content", false);
|
||||
|
@ -768,7 +768,10 @@ let gGestureSupport = {
|
||||
* The gesture event to handle
|
||||
*/
|
||||
handleEvent: function GS_handleEvent(aEvent) {
|
||||
aEvent.stopPropagation();
|
||||
if (!Services.prefs.getBoolPref(
|
||||
"dom.debug.propagate_gesture_events_through_content")) {
|
||||
aEvent.stopPropagation();
|
||||
}
|
||||
|
||||
// Create a preference object with some defaults
|
||||
let def = function(aThreshold, aLatched)
|
||||
|
Loading…
Reference in New Issue
Block a user