Closed Bug 1367300 Opened 9 years ago Closed 8 years ago

touchmove stacks event execution, FF hangs, Android crashes

Categories

(Firefox for Android Graveyard :: General, defect)

53 Branch
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INACTIVE

People

(Reporter: colormatch, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.2; Win64; x64; rv:53.0) Gecko/20100101 Firefox/53.0 Build ID: 20170504105526 Steps to reproduce: Android 4.1 Firefox v53 Firefox Aurora v54 element.addEventListener("touchmove", SomeEeventFunction, {passive: true}); function SomeEeventFunction(){ //... code execution takes about 500ms on firefox } online test: 1) https://kinoseed.com/ 2) touch and move down/up the "target image" box (you should see blending percentage change near the right corner) 3) load any image you like for "source image", and any image you like for "target image" (click on each box, and load image, or drag/n/drop in boxes) 4) repeat step "2" - touch and move down/up the "target image" box Actual results: "SomeEeventFunction" is triggered simultaneously multiple times and/or stacked (as events keep executing the function long after "touchend") , and as soon as it takes a few ms to execute, the browser hangs, and on occasions Android OS crashes (device reboots). In the online example, since blending takes some resources and time, the system overloads, Firefox hangs, and on occasion the whole device becomes unresponsive, and ends up restarting. Expected results: should not crash, not overload, not stack events for later execution (see chrome for example)
App is updated and optimized to avoid "heavy crashes", so you can't use it as complete example of the problem. After the app-update Firefox Aurora, does not hang, but still lags and fires events "long" after event ends. Firefox v53 site-hangs on touchmove (as described in first post), but at least the phone does not lock (due to lack or resources?).
Using a Galaxy s6 and Firefox Nightly the app is reasonably responsive to input.
Closing per https://bugzilla.mozilla.org/show_bug.cgi?id=1473195 Contact :susheel if you think this bug should be re-opened
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Resolution: --- → INACTIVE
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.