Introduce more general notification capabilities

Replaces the existing, very specialized Notification with something more
general.

Currently, the existing page_navigate and page_navigated have been migrated.

Telemetry's page navigation event now also hooks into these events to generate
the telemetry record.
This commit is contained in:
Karl Seguin
2025-04-24 17:29:06 +08:00
parent 2910f4f527
commit 6c592669da
6 changed files with 310 additions and 47 deletions

View File

@@ -97,7 +97,7 @@ pub fn main() !void {
var browser = try Browser.init(app);
defer browser.deinit();
var session = try browser.newSession({});
var session = try browser.newSession();
// page
const page = try session.createPage();