Please sign in to comment.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Infinite loop when processing mouse events synchronously
https://bugs.webkit.org/show_bug.cgi?id=153995 Reviewed by Darin Adler. This happened with WTR in the GTK+ port after landing patch in bug #153740. The thing is that WTR forces events handling IPC messages to be synchronous. When a drag and drop operation is in progress, the web process ignores mouse move events and replies with DidReceiveEvent signal. The DidReceiveEvent message handler in WebPageProxy checks if we have a m_nextMouseMoveEvent and handles it, but when all this happens synchronously the m_nextMouseMoveEvent is the current one because we haven't returned yet from handleMouseEvent(). We need to invalidate the m_nextMouseMoveEvent before calling handleMouseEvent(). * UIProcess/WebPageProxy.cpp: (WebKit::WebPageProxy::didReceiveEvent): Canonical link: https://commits.webkit.org/172091@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@196264 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing with 23 additions and 4 deletions.