User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.111 Safari/537.36
Steps to reproduce:
It's been reported several times on https://forum.snapcraft.io/ that when invoked from an application packaged as a classic snap¹ to open a hyperlink, firefox installed as a deb package (on Debian/Ubuntu) opens with the wrong profile by default.
This issue was investigated in https://launchpad.net/bugs/1835024, and we found out that the culprit is nsToolkitProfileService::IsSnapEnvironment()².
To reproduce the issue, ensure that a firefox window is open, then from a terminal run `SNAP_NAME=foobar firefox http://example.org`.
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ 86.0.4240. 111 Safari/537.36
Steps to reproduce:
It's been reported several times on https:/ /forum. snapcraft. io/ that when invoked from an application packaged as a classic snap¹ to open a hyperlink, firefox installed as a deb package (on Debian/Ubuntu) opens with the wrong profile by default. /launchpad. net/bugs/ 1835024, and we found out that the culprit is nsToolkitProfil eService: :IsSnapEnvironm ent()².
This issue was investigated in https:/
To reproduce the issue, ensure that a firefox window is open, then from a terminal run `SNAP_NAME=foobar firefox http:// example. org`.
¹ https:/ /snapcraft. io/docs/ snap-confinemen t /hg.mozilla. org/mozilla- central/ file/tip/ toolkit/ profile/ nsToolkitProfil eService. cpp#l1838
² https:/
Actual results:
This opens the requested URL (http:// example. org) in a separate firefox window, with a different profile than that of the already open firefox window.
Expected results:
This should have opened the requested URL in a new tab in the same window that was already open.