Changeset 58760 in webkit
- Timestamp:
- May 4, 2010 8:30:07 AM (14 years ago)
- Location:
- trunk
- Files:
-
- 4 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r58750 r58760 1 2010-05-04 Ben Murdoch <benm@google.com> 2 3 Reviewed by Simon Hausmann. 4 5 Crash in handleTouchEvent: using dangling node ptrs in hashmap 6 https://bugs.webkit.org/show_bug.cgi?id=38514 7 8 * fast/events/touch/resources/touch-stale-node-crash.js: Added. 9 * fast/events/touch/resources/send-touch-up.html: Added. 10 * fast/events/touch/touch-stale-node-crash-expected.txt: Added. 11 * fast/events/touch/touch-stale-node-crash.html: Added. 12 1 13 2010-05-04 Jeremy Moskovich <jeremy@chromium.org> 2 14 -
trunk/WebCore/ChangeLog
r58758 r58760 1 2010-05-04 Ben Murdoch <benm@google.com> 2 3 Reviewed by Simon Hausmann. 4 5 Crash in handleTouchEvent: using dangling node ptrs in hashmap 6 https://bugs.webkit.org/show_bug.cgi?id=38514 7 8 When navigating away from a page, if you have your finger still 9 pressed and then lift it on the new page we see a crash if the 10 node got deleted as we still have a dangling pointer in the 11 m_originatingTouchPointTargets hashmap and try to use it as the 12 receiver to dispatch a touchend event. 13 14 Test: fast/events/touch/touch-stale-node-crash.html 15 16 * page/EventHandler.cpp: 17 (WebCore::EventHandler::clear): Clear the hashmap of touch targets. 18 1 19 2010-05-04 Joseph Pecoraro <joepeck@webkit.org> 2 20 -
trunk/WebCore/page/EventHandler.cpp
r58625 r58760 232 232 m_latchedWheelEventNode = 0; 233 233 m_previousWheelScrolledNode = 0; 234 #if ENABLE(TOUCH_EVENTS) 235 m_originatingTouchPointTargets.clear(); 236 #endif 234 237 } 235 238
Note: See TracChangeset
for help on using the changeset viewer.