wpt: update parser.documentHTMLParseFromFileAlloc refacto

This commit is contained in:
Pierre Tachoire committed 2023-10-11 09:35:49 +02:00
1 parent 5747e7f952
commit a42d054fe7
1 file changed
+1 -1
+1 -1
View File
@@ -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