1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-24 06:25:06 +00:00
serenity/Libraries/LibWeb/Page
Andreas Kling 2dd03a4200 LibWeb: Abort event handling if underlying layout tree disappears
We didn't notice that the layout tree had disappeared after dispatching
a mousedown event, because we only checked EventHandler::layout_root()
which happily returned the *new* layout tree after a window.reload().

This patch fixes that by verifying that the frame is still showing the
same DOM's layout tree after event dispatch.

Fixes #4224.
2020-11-29 16:43:12 +01:00
..
EventHandler.cpp LibWeb: Abort event handling if underlying layout tree disappears 2020-11-29 16:43:12 +01:00
EventHandler.h LibWeb: Rename LayoutNode classes and move them into Layout namespace 2020-11-22 15:56:27 +01:00
Frame.cpp LibWeb: Rename LayoutNode classes and move them into Layout namespace 2020-11-22 15:56:27 +01:00
Frame.h LibWeb: Make Frame point weakly to Page 2020-11-12 18:29:55 +01:00
Page.cpp LibWeb: Add OutOfProcessWebView::load_html() 2020-10-08 23:20:52 +02:00
Page.h LibWeb: Make Frame point weakly to Page 2020-11-12 18:29:55 +01:00