Files
tubestation/netwerk/ipc
Nika Layzell 9dda4a6682 Bug 1954597 - Part 8: Abort RedirectToRealChannel earlier if DisconnectListeners has already been called, r=smaug,necko-reviewers,kershaw
Without this change, we could end up in `TriggerRedirectToRealChannel`
after DisconnectListeners has been called (e.g. due to a process
switching failure), and would not abort the process switching load until
later (in `RedirectToRealChannel`).

This caused spurious failures of the ValidatePrincipals check which was
added in this function in an earlier part, as we would run it even for
loads which could never complete. This patch changes the behaviour to
abort the failed load earlier to avoid those false-positives.

Differential Revision: https://phabricator.services.mozilla.com/D245111
2025-04-11 16:51:13 +00:00
..