mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-10-30 07:31:47 +00:00
support depth parameter for DOM.getDocument
This commit is contained in:
@@ -565,13 +565,13 @@ test "cdp Node: Writer" {
|
||||
.localName = "div",
|
||||
.childNodeCount = 1,
|
||||
.parentId = 3,
|
||||
.children = &.{ .{
|
||||
.children = &.{.{
|
||||
.nodeId = 6,
|
||||
.localName = "a",
|
||||
.childNodeCount = 0,
|
||||
.parentId = 5,
|
||||
}}
|
||||
}
|
||||
} } }, json);
|
||||
}},
|
||||
} },
|
||||
} }, json);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user