We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f7a8c0 commit 58ca323Copy full SHA for 58ca323
src/html/window.zig
@@ -28,6 +28,8 @@ const EventTarget = @import("../dom/event_target.zig").EventTarget;
28
29
const storage = @import("../storage/storage.zig");
30
31
+const log = std.log.scoped(.window);
32
+
33
// https://dom.spec.whatwg.org/#interface-window-extensions
34
// https://html.spec.whatwg.org/multipage/nav-history-apis.html#window
35
pub const Window = struct {
@@ -66,6 +68,10 @@ pub const Window = struct {
66
68
return self;
67
69
}
70
71
+ pub fn _debug(_: *Window, str: []const u8) void {
72
+ log.debug("{s}", .{str});
73
+ }
74
75
pub fn get_self(self: *Window) *Window {
76
77
0 commit comments