mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-10-29 15:13:28 +00:00
wpt: update parser.documentHTMLParse
This commit is contained in:
@@ -92,8 +92,7 @@ fn runWPT(arena: *std.heap.ArenaAllocator, f: []const u8, libs: [][]const u8) !j
|
|||||||
const alloc = arena.allocator();
|
const alloc = arena.allocator();
|
||||||
|
|
||||||
// document
|
// document
|
||||||
var ff: []u8 = @constCast(f);
|
const htmldoc = parser.documentHTMLParse(f);
|
||||||
const htmldoc = parser.documentHTMLParse(ff);
|
|
||||||
const doc = parser.documentHTMLToDocument(htmldoc);
|
const doc = parser.documentHTMLToDocument(htmldoc);
|
||||||
|
|
||||||
// create JS env
|
// create JS env
|
||||||
|
|||||||
Reference in New Issue
Block a user