mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-12-18 01:48:10 +00:00
netsurf: update parseDocumentHtml breaking change
This commit is contained in:
@@ -38,10 +38,9 @@ test {
|
||||
const apis = jsruntime.compile(DOM.Interfaces);
|
||||
|
||||
// document
|
||||
doc = parser.documentHTMLParse("test.html");
|
||||
doc = try parser.documentHTMLParseFromFile(std.testing.allocator, "test.html");
|
||||
defer parser.documentHTMLClose(doc);
|
||||
|
||||
|
||||
// create JS vm
|
||||
const vm = jsruntime.VM.init();
|
||||
defer vm.deinit();
|
||||
|
||||
Reference in New Issue
Block a user