WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
290438
Response.redirect() has redundant and misformatted error message
https://bugs.webkit.org/show_bug.cgi?id=290438
Summary
Response.redirect() has redundant and misformatted error message
Meghan Denny
Reported
2025-03-25 20:31:33 PDT
< `Response.redirect("/", 404)`
> `RangeError: Status code 404is not a redirection status code`
in firefox:
> `Uncaught RangeError: Response.redirect: Invalid redirect status code.`
in chrome:
> `Uncaught RangeError: Failed to execute 'redirect' on 'Response': Invalid status code`
Attachments
Add attachment
proposed patch, testcase, etc.
EWS
Comment 1
2025-03-26 02:05:50 PDT
Committed
292695@main
(47d9544648c6): <
https://commits.webkit.org/292695@main
> Reviewed commits have been landed. Closing PR #43030 and removing active labels.
Radar WebKit Bug Importer
Comment 2
2025-03-26 02:06:16 PDT
<
rdar://problem/147913559
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug