Bug 290438

Summary: Response.redirect() has redundant and misformatted error message
Product: WebKit Reporter: Meghan Denny <meghan>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

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
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
Note You need to log in before you can comment on or make changes to this bug.