mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-10-28 22:53:28 +00:00
wpt: update parser.documentHTMLParseFromFileAlloc refacto
This commit is contained in:
@@ -137,7 +137,7 @@ fn runWPT(arena: *std.heap.ArenaAllocator, f: []const u8, loader: *FileLoader) !
|
||||
const alloc = arena.allocator();
|
||||
|
||||
// document
|
||||
const htmldoc = try parser.documentHTMLParse(alloc, f);
|
||||
const htmldoc = try parser.documentHTMLParseFromFileAlloc(alloc, f);
|
||||
var doc = parser.documentHTMLToDocument(htmldoc);
|
||||
|
||||
// create JS env
|
||||
|
||||
Reference in New Issue
Block a user