mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-04-04 00:20:32 +00:00
browser: treat wait timeout as normal completion, not an error
This commit is contained in:
@@ -699,7 +699,7 @@ fn performGoto(server: *Server, url: [:0]const u8, id: std.json.Value, timeout:
|
||||
.ms = timeout orelse 10000,
|
||||
.until = waitUntil orelse .done,
|
||||
}) catch {
|
||||
try server.sendError(id, .InternalError, "Timeout waiting for page load");
|
||||
try server.sendError(id, .InternalError, "Error waiting for page load");
|
||||
return error.NavigationFailed;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user