Update Mozilla's patch for Bug 1675054 to enable brotli encoding for HTTP onions as well
I think we they also be checking for .onion here ( similar to mixed content blocker https://searchfox.org/mozilla-central/source/dom/security/nsMixedContentBlocker.cpp#263 ). The mozilla patch( https://hg.mozilla.org/mozilla-central/rev/fc09cf8d7c91 ) just enables brotli encoding for loopback/localhost domains in addition to HTTPS, not for all secure contexts (so http .onion is missing out)
@tom please let me know if I'm misunderstanding the referenced patch
We should uplift any fix fro this.