mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-21 16:58:58 +00:00
LibWeb: Add JSON serialization for nested browsing contexts
This changes allows for nested browser contexts to be embedded in the serialized JSON of their container element (like `iframe`) and enables their inspection in the DOM Inspector.
This commit is contained in:
parent
58397f356f
commit
3f006d81fe
Notes:
sideshowbarker
2024-07-18 00:43:18 +09:00
Author: https://github.com/vpukhanov
Commit: 3f006d81fe
Pull-request: https://github.com/SerenityOS/serenity/pull/11062
Issue: https://github.com/SerenityOS/serenity/issues/8934
4 changed files with 21 additions and 1 deletions
|
@ -84,6 +84,7 @@ public:
|
|||
|
||||
virtual bool is_html_html_element() const { return false; }
|
||||
virtual bool is_html_template_element() const { return false; }
|
||||
virtual bool is_browsing_context_container() const { return false; }
|
||||
|
||||
ExceptionOr<NonnullRefPtr<Node>> pre_insert(NonnullRefPtr<Node>, RefPtr<Node>);
|
||||
ExceptionOr<NonnullRefPtr<Node>> pre_remove(NonnullRefPtr<Node>);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue