mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-10-29 07:03:29 +00:00
browser: add comment for auxData param in page.navigate
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
This commit is contained in:
@@ -244,6 +244,8 @@ pub const Page = struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// spec reference: https://html.spec.whatwg.org/#document-lifecycle
|
// spec reference: https://html.spec.whatwg.org/#document-lifecycle
|
||||||
|
// - auxData: extra data forwarded to the Inspector
|
||||||
|
// see Inspector.contextCreated
|
||||||
pub fn navigate(self: *Page, uri: []const u8, auxData: ?[]const u8) !void {
|
pub fn navigate(self: *Page, uri: []const u8, auxData: ?[]const u8) !void {
|
||||||
const alloc = self.arena.allocator();
|
const alloc = self.arena.allocator();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user