add nav web api

This commit is contained in:
Pierre Tachoire
2023-12-15 17:25:23 +01:00
parent edadc92ec8
commit b53d4a149c
7 changed files with 59 additions and 8 deletions

View File

@@ -6,7 +6,8 @@ const Suite = @import("wpt/testcase.zig").Suite;
const FileLoader = @import("wpt/fileloader.zig").FileLoader;
const wpt = @import("wpt/run.zig");
const DOM = @import("dom.zig");
const apiweb = @import("apiweb.zig");
const nav = @import("nav/nav.zig");
const HTMLElem = @import("html/elements.zig");
const wpt_dir = "tests/wpt";
@@ -29,7 +30,7 @@ const Out = enum {
text,
};
pub const Types = jsruntime.reflect(DOM.Interfaces);
pub const Types = jsruntime.reflect(apiweb.Interfaces);
// TODO For now the WPT tests run is specific to WPT.
// It manually load js framwork libs, and run the first script w/ js content in