mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 06:27:45 +00:00
LibWeb: Do not encode "internal_id" in DOM JSON
This is now unused.
This commit is contained in:
parent
447ecc2155
commit
1bbf3f1d09
1 changed files with 2 additions and 3 deletions
|
@ -609,10 +609,9 @@ RefPtr<Document> Node::owner_document() const
|
|||
void Node::serialize_tree_as_json(JsonObjectSerializer<StringBuilder>& object) const
|
||||
{
|
||||
object.add("name", node_name().view());
|
||||
object.add("internal_id", (size_t)this);
|
||||
if (is_document())
|
||||
if (is_document()) {
|
||||
object.add("type", "document");
|
||||
else if (is_element()) {
|
||||
} else if (is_element()) {
|
||||
object.add("type", "element");
|
||||
|
||||
auto element = static_cast<DOM::Element const*>(this);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue