ladybird/Tests/LibWeb/Text
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
..
data LibWeb: Wait until child navigable's SHE is ready before navigating 2025-02-27 14:31:41 +01:00
expected LibWeb: Clear the document's page's focused navigable upon destruction 2025-03-02 17:27:24 -05:00
input LibWeb: Clear the document's page's focused navigable upon destruction 2025-03-02 17:27:24 -05:00