mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-03-22 12:44:43 +00:00
Move Notification from App to BrowserContext
This commit is contained in:
@@ -107,7 +107,10 @@ fn run(
|
||||
test_file: []const u8,
|
||||
err_out: *?[]const u8,
|
||||
) ![]const u8 {
|
||||
const session = try browser.newSession();
|
||||
const notification = try lp.Notification.init(browser.allocator);
|
||||
defer notification.deinit();
|
||||
|
||||
const session = try browser.newSession(notification);
|
||||
defer browser.closeSession();
|
||||
|
||||
const page = try session.createPage();
|
||||
|
||||
Reference in New Issue
Block a user