Timothy Flynn
cdb413600e
LibWeb: Implement getting a known connected element closer to the spec
...
Namely, we must always return NoSuchError invalid element IDs, and we
must handle stale elements.
(cherry picked from commit 92a37b3b1a62cf8ed6bc942229cb77bce01ec815)
2024-11-24 17:29:26 -05:00
Timothy Flynn
d53bed5882
LibWeb+WebContent: Partially implement the switch-to-frame endpoint
...
This is needed by the cookie tests for WPT.
(cherry picked from commit 60fa3752ee8c6eecc1e338c8ebebba2e288eea35)
2024-11-24 15:19:49 -05:00
Timothy Flynn
0e87ab0b2e
LibWeb+WebContent: Implement the WebDriver JSON clone steps for elements
...
This is needed by WPT to serialize NodeList instances.
(cherry picked from commit bf60765903d459f98098e2ba82246028ceaa8125)
2024-11-24 15:19:49 -05:00
Timothy Flynn
b7f11fe893
LibWeb+WebContent: Move element reference WebDriver AOs to a helper file
...
These will be needed outside of WebDriverConnection.cpp.
(cherry picked from commit 2dc8cad7857878637a6850da272cb6539d890786)
2024-11-24 15:19:49 -05:00