mirror of
https://github.com/RGBCube/serenity
synced 2025-05-16 09:44:57 +00:00
![]() This can occur if a mouse click on a mouse event tracking node causes a page navigation. As the old document is torn down, the event handler may have a stale reference to the tracking node. If a subsequent mouse event occurs on that node, we would crash trying to access the node's styled properties that are no longer valid. To fix this, when we are deciding what node to send the event to, and we have a mouse event tracking node, check if that node still wants the event. If not, clear the tracking node. |
||
---|---|---|
.. | ||
EditEventHandler.cpp | ||
EditEventHandler.h | ||
EventHandler.cpp | ||
EventHandler.h | ||
Page.cpp | ||
Page.h |