mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-10-29 23:23:28 +00:00
netsurf: use parse helper
This commit is contained in:
@@ -38,7 +38,7 @@ test {
|
||||
const apis = jsruntime.compile(DOM.Interfaces);
|
||||
|
||||
// document
|
||||
doc = try parser.documentHTMLParseFromFile(std.testing.allocator, "test.html");
|
||||
doc = try parser.documentHTMLParseFromFileAlloc(std.testing.allocator, "test.html");
|
||||
defer parser.documentHTMLClose(doc);
|
||||
|
||||
// create JS vm
|
||||
|
||||
Reference in New Issue
Block a user