Consider uplifting 21537: Mark .onion cookies as secure
Assuming that adapting the patch for newer Firefox versions was done correctly in #33533 (moved), now the patch is just a single line, which might be easy to uplift.
Assuming that adapting the patch for newer Firefox versions was done correctly in #33533 (moved), now the patch is just a single line, which might be easy to uplift.