mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-02-05 14:57:11 +00:00
Make undefined->null safer, and apply the same trick to BrowserContext
This commit is contained in:
@@ -105,7 +105,7 @@ const TestContext = struct {
|
||||
}
|
||||
|
||||
_ = try c.createBrowserContext();
|
||||
var bc = c.browser_context.?;
|
||||
var bc = &c.browser_context.?;
|
||||
|
||||
if (opts.id) |id| {
|
||||
bc.id = id;
|
||||
|
||||
Reference in New Issue
Block a user