support url on createTarget and send lifecycle events

Support url parameter on createTarget. we now navigate on createTarget
to dispatch events correctly, even in case of about:blank
This commit is contained in:
Pierre Tachoire
2025-12-09 10:07:32 +01:00
parent e98bb16255
commit 0d8dd84df5
4 changed files with 42 additions and 12 deletions

View File

@@ -109,13 +109,13 @@ pub const PageRemove = struct {};
pub const PageNavigate = struct {
timestamp: u64,
url: []const u8,
url: [:0]const u8,
opts: Page.NavigateOpts,
};
pub const PageNavigated = struct {
timestamp: u64,
url: []const u8,
url: [:0]const u8,
};
pub const PageNetworkIdle = struct {