Make test suite robust with Tor Browser 9.0
I see lots of failures which seem to be clear test suite robustness
regressions triggered by the upgrade to Tor Browser 9.
This makes it hard to tell what else we need to do on #16356 (closed), and whether TB 9 fixes #17007.
Parent Task: #16356 (closed)
- Related to #17121 (closed)