mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-10-29 23:23:28 +00:00
netsurf: use idiomatic []const u8 for filename
This commit is contained in:
@@ -38,8 +38,7 @@ test {
|
||||
const apis = jsruntime.compile(DOM.Interfaces);
|
||||
|
||||
// document
|
||||
var f = "test.html".*;
|
||||
doc = parser.documentHTMLParse(&f);
|
||||
doc = parser.documentHTMLParse("test.html");
|
||||
|
||||
// create JS vm
|
||||
const vm = jsruntime.VM.init();
|
||||
|
||||
Reference in New Issue
Block a user