ladybird/Libraries/LibWeb/Page
Timothy Flynn b11ba4cc90 LibWeb: Clear the document's page's focused navigable upon destruction
We set the page's focused navigable upon mouse-down events from the UI.
However, we neglected to ever clear that focused navigable upon events
such as subsequent page navigations. This left the page with a stale
reference to a no-longer-active navigable. The effect was that any key
events from the UI would not be sent to the new page until either the
reference was collected by GC, or another mouse-down event occurred.

In the test added here, without this fix, the text sent to the input
element would not be received, and the change event would not fire.
2025-03-02 17:27:24 -05:00
..
DragAndDropEventHandler.cpp LibWeb: Refactor "editable" and "editing host" concepts 2024-12-10 14:54:19 +01:00
DragAndDropEventHandler.h LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
EventHandler.cpp LibWeb+WebContent+UI: Support image cursors 2025-02-28 13:50:13 +01:00
EventHandler.h LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
EventResult.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
InputEvent.cpp Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
InputEvent.h LibWeb: Schedule input event processing on HTML event loop 2025-02-15 21:09:18 +01:00
Page.cpp LibWeb: Clear the document's page's focused navigable upon destruction 2025-03-02 17:27:24 -05:00
Page.h LibWeb: Clear the document's page's focused navigable upon destruction 2025-03-02 17:27:24 -05:00