1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-16 09:44:57 +00:00
serenity/Userland/Libraries/LibWeb/Page
Timothy Flynn 806e08425a LibWeb: Clear the mouse event tracking node when it stops wanting events
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.
2023-04-27 18:28:43 +02:00
..
EditEventHandler.cpp LibJS+LibWeb: Wrap raw JS::Cell*/& fields in GCPtr/NonnullGCPtr 2023-03-15 08:48:49 +01:00
EditEventHandler.h LibJS+LibWeb: Wrap raw JS::Cell*/& fields in GCPtr/NonnullGCPtr 2023-03-15 08:48:49 +01:00
EventHandler.cpp LibWeb: Clear the mouse event tracking node when it stops wanting events 2023-04-27 18:28:43 +02:00
EventHandler.h LibWeb: Clear the mouse event tracking node when it stops wanting events 2023-04-27 18:28:43 +02:00
Page.cpp LibWeb+Ladybird+Userland: Port window.[alert,confirm,prompt] to String 2023-03-13 22:05:22 +00:00
Page.h WebContent+Everywhere: Add a WebContent IPC to activate a tab 2023-03-21 09:39:49 +00:00