Skip to content

fix(network): cancel the auth challenge in AuthRequest#abort instead of failing the request - #700

Merged
route merged 1 commit into
mainfrom
fix/auth-request-abort
Nov 8, 2026
Merged

route merged 1 commit into
mainfrom
fix/auth-request-abort

Conversation

@route

@route route commented Nov 8, 2026

Copy link
Copy Markdown
Member

AuthRequest#abort sent Fetch.failRequest, which Chrome rejects for a request paused on an auth challenge (BrowserError: authChallengeResponse required.). The error was swallowed in the event callback and the page hung. The fallback request.abort at the end of Network#authorize hit it too.

It now responds with CancelAuth through Fetch.continueWithAuth, so the page loads the unauthorized response.

…of failing the request

Chrome rejects Fetch.failRequest for a request paused on an auth challenge, so abort raised BrowserError and the page hung. Respond with CancelAuth through Fetch.continueWithAuth instead.
@route
route merged commit 8d2f3ff into main Nov 8, 2026
7 checks passed
@route
route deleted the fix/auth-request-abort branch November 8, 2026 18:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant