mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1067128 - [e10s] _setupSwipeGesture() tries to access content when scrolling down r=spohl
This commit is contained in:
parent
543e54d2f8
commit
56297c76f1
@ -189,12 +189,12 @@ let gGestureSupport = {
|
||||
|
||||
let isVerticalSwipe = false;
|
||||
if (aEvent.direction == aEvent.DIRECTION_UP) {
|
||||
if (content.pageYOffset > 0) {
|
||||
if (gMultiProcessBrowser || content.pageYOffset > 0) {
|
||||
return false;
|
||||
}
|
||||
isVerticalSwipe = true;
|
||||
} else if (aEvent.direction == aEvent.DIRECTION_DOWN) {
|
||||
if (content.pageYOffset < content.scrollMaxY) {
|
||||
if (gMultiProcessBrowser || content.pageYOffset < content.scrollMaxY) {
|
||||
return false;
|
||||
}
|
||||
isVerticalSwipe = true;
|
||||
|
Loading…
Reference in New Issue
Block a user