Control: merge 948691 980461
Control: forwarded -1 https://bugzilla.mozilla.org/show_bug.cgi?id=1494436

On Sat, 27 Nov 2021 at 07:13:20 +0000, Jonathan Krebs wrote:
> Could you please explain, why Thunderbird should not set
> [MOZ_APP_LAUNCHER]?

Let me turn this round: why *should* Thunderbird set this environment
variable? What benefit does it give Thunderbird to make any child process
that happens to be Mozilla-based (even Firefox!) think it is part of
Thunderbird?

Firefox doesn't seem to need to do similarly; what's different in
Thunderbird that makes this necessary?

On Sat, 27 Nov 2021 at 08:46:16 +0100, Carsten Schoenert wrote:
> But yeah, I have the same question, so Mike please, it would be nice to hear
> some thoughts from you why setting MOZ_APP_LAUNCHER isn't something we
> should do and what other options we have.

I'm not Mike, but the obvious reason to not set MOZ_APP_LAUNCHER is:
because it breaks Firefox when used as a URL handler by Thunderbird,
by making Firefox think it's part of Thunderbird.

https://bugs.debian.org/980461 seems to be basically the same bug,
and points to upstream bug report
https://bugzilla.mozilla.org/show_bug.cgi?id=1494436 where the
other suggestion was to remove MOZ_APP_LAUNCHER from the environment
before launching any external URL or MIME-type handler. I'll try to
put together a patch for that.

    smcv

Reply via email to