Malte Juergens 84aacf5dbe Bug 1858565 - Make HTTPS-Only/First handle Superfluos Auth correctly r=freddyb,necko-reviewers,valentin
- Introduce new error `NS_ERROR_SUPERFLUOS_AUTH`
- Make `nsHttpChannelAuthProvider::CheckForSuperfluousAuth` return that new error instead of `NS_ERROR_ABORT`
- If `CheckForSuperfluosAuth` fails, set the status of the http channel to the rv of `CheckForSuperfluosAuth` (this should always be the newly introduced error)
- Add the new error code  to `nsHTTPSOnlyUtils::HttpsUpgradeUnrelatedErrorCode` to make sure HTTPS-Only/First will not think that the request failed

Differential Revision: https://phabricator.services.mozilla.com/D191276
2023-11-06 09:48:48 +00:00
..