support depth parameter for DOM.getDocument

This commit is contained in:
Karl Seguin
2025-07-17 14:15:58 +08:00
parent 5e74e17b41
commit f199816fcd
2 changed files with 12 additions and 10 deletions

View File

@@ -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);
}
}