mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-10-29 07:03:29 +00:00
Replace panic by std.log.err for NOT IMPLEMENTED
Signed-off-by: Francis Bouvier <francis.bouvier@gmail.com>
This commit is contained in:
@@ -137,9 +137,10 @@ pub const Node = struct {
|
||||
}
|
||||
|
||||
pub fn _compareDocumentPosition(self: *parser.Node, other: *parser.Node) void {
|
||||
// TODO
|
||||
_ = other;
|
||||
_ = self;
|
||||
@panic("Not implemented node.compareDocumentPosition()");
|
||||
std.log.err("Not implemented {s}", .{"node.compareDocumentPosition()"});
|
||||
}
|
||||
|
||||
pub fn _contains(self: *parser.Node, other: *parser.Node) bool {
|
||||
@@ -147,8 +148,9 @@ pub const Node = struct {
|
||||
}
|
||||
|
||||
pub fn _getRootNode(self: *parser.Node) void {
|
||||
// TODO
|
||||
_ = self;
|
||||
@panic("Not implemented node.getRootNode()");
|
||||
std.log.err("Not implemented {s}", .{"node.getRootNode()"});
|
||||
}
|
||||
|
||||
pub fn _hasChildNodes(self: *parser.Node) bool {
|
||||
|
||||
Reference in New Issue
Block a user