1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 11:28:11 +00:00
serenity/Userland
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
..
Applets Applets/Keymap: Repaint applet on keymap change 2023-03-09 21:42:23 +01:00
Applications Browser+Ladybird: Render text in the JS console with a monospace font 2023-04-26 15:43:57 +02:00
BuggieBox Everywhere: Use LibFileSystem where trivial 2023-03-21 19:03:21 +00:00
Demos Userland: Remove "Inspector" program and related utilities 2023-04-25 14:48:40 +02:00
DevTools Userland: Remove "Inspector" program and related utilities 2023-04-25 14:48:40 +02:00
DynamicLoader DynamicLoader: Ensure that backtrace computation stops at _start 2023-04-23 14:30:59 +02:00
Games LibChess: Return ErrorOr<String> from to-algebraic/fen methods 2023-04-24 20:58:35 +02:00
Libraries LibWeb: Clear the mouse event tracking node when it stops wanting events 2023-04-27 18:28:43 +02:00
Services KeyboardPreferenceLoader: Remove usage of DeprecatedFile 2023-04-27 07:29:49 +02:00
Shell Userland: Remove serialize-to-JSON functions only used for Inspector 2023-04-25 14:48:40 +02:00
Utilities LibCore+file: Factorize code to detect mime-type from bytes of a file 2023-04-27 07:29:49 +02:00
CMakeLists.txt Userland: Add the BuggieBox program 2022-11-26 12:41:47 -07:00