mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-10-28 14:43:28 +00:00
Compare commits
1 Commits
a4d290ba58
...
window-deb
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
58ca323918 |
@@ -28,6 +28,8 @@ const EventTarget = @import("../dom/event_target.zig").EventTarget;
|
||||
|
||||
const storage = @import("../storage/storage.zig");
|
||||
|
||||
const log = std.log.scoped(.window);
|
||||
|
||||
// https://dom.spec.whatwg.org/#interface-window-extensions
|
||||
// https://html.spec.whatwg.org/multipage/nav-history-apis.html#window
|
||||
pub const Window = struct {
|
||||
@@ -66,6 +68,10 @@ pub const Window = struct {
|
||||
return self;
|
||||
}
|
||||
|
||||
pub fn _debug(_: *Window, str: []const u8) void {
|
||||
log.debug("{s}", .{str});
|
||||
}
|
||||
|
||||
pub fn get_self(self: *Window) *Window {
|
||||
return self;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user