dom: implement navigator.userAgent

This commit is contained in:
Pierre Tachoire
2024-12-29 12:30:37 +01:00
parent 9fb51a1f29
commit b3f7fb7be3
6 changed files with 75 additions and 5 deletions

View File

@@ -21,6 +21,7 @@ const generate = @import("../generate.zig");
const HTMLDocument = @import("document.zig").HTMLDocument;
const HTMLElem = @import("elements.zig");
const Window = @import("window.zig").Window;
const Navigator = @import("navigator.zig").Navigator;
pub const Interfaces = generate.Tuple(.{
HTMLDocument,
@@ -28,4 +29,5 @@ pub const Interfaces = generate.Tuple(.{
HTMLElem.HTMLMediaElement,
HTMLElem.Interfaces,
Window,
Navigator,
});