Closed Bug 478536 Opened 12 years ago Closed 12 years ago
Crash by removing a scroll target in Moz
Mouse Scroll Failed event handler
this is a regression of bug 442774. At bug 442774, I added MozMouseScrollFailed event for automated testing, but the patch didn't check whether the target frame alive or not. Steps for reproduce: 1. Open the attached testcase. 2. Scroll down the view to bottom by mouse wheel. 3. Scroll up the view to top by mouse wheel. 4. Scroll up the view to top again. I'll post a patch.
Comment on attachment 362385 [details] [diff] [review] Patch v1.0 + // By the event handler, the target frame might be destroyed. Then, + // we should not keep to handle this scroll event. // In the event handler, the target frame might be destroyed. Then, // we should not keep handling this scroll event.
12 years ago
pushed to trunk. http://hg.mozilla.org/mozilla-central/rev/cc31eaf33c78
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Component: Event Handling → User events and focus handling
You need to log in before you can comment on or make changes to this bug.