Move about: shouldShowTorConnect logic to the about redirector
We're having to customise the about:
redirector for home
and newtab
anyway, as of #43886 (closed).
So we might as well move the shouldShowTorConnect
logic in browser/modules/URILoadingHelper.sys.mjs
to browser/components/about/AboutRedirector.cpp
. The advantage would be that this would work at the lower-level, so there would be less slip-throughs as in #41769 (closed) and #41529.
It would require some kind of idl interface for what is currently handled by TorConnectParent
.
Edited by henry