mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 03:17:35 +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
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