browser: treat wait timeout as normal completion, not an error

This commit is contained in:
Adrià Arrufat
2026-04-02 14:53:59 +02:00
parent 69e5478dd7
commit 62f58b4c12
2 changed files with 2 additions and 2 deletions

View File

@@ -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;
};
}