Bug 234641 - www/firefox fails to open URLs in a new tab
Summary: www/firefox fails to open URLs in a new tab
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: freebsd-gecko mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-01-05 18:10 UTC by robert.ayrapetyan
Modified: 2019-01-05 18:27 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description robert.ayrapetyan 2019-01-05 18:10:05 UTC
OS: FreeBSD 11.2-RELEASE-p7

After recent upgrade to firefox-64.0_3,1 (from 64.0_2,1 I believe) Firefox fails to open new URLs in tabs when triggering this operation externally.

Steps to reproduce:
1. Create new profile
2. Run firefox using this profile: (firefox -profile path_to_profile)
3. Run firefox --new-tab url

Expected:
New URL should be opened in an active firefox window's tab.

Actual:
"Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system." error on screen and: "JavaScript error: jar:file:///usr/local/lib/firefox/omni.ja!/components/XULStore.js, line 60: Error: Can't find profile directory." in console.

Before update:
1. You can run firefox -profile path_to_profile as many times as you wish. A new window is created in context of a selected profile
2. You can click links in apps and a new tab will be opened in the active firefox window
3. You can run: firefox --new-tab url and url will open in a new tab of an active Firefox window.

After update:
1. You can't run firefox -profile path_to_profile more than once. It show: "Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system." error on screen and: "JavaScript error: jar:file:///usr/local/lib/firefox/omni.ja!/components/XULStore.js, line 60: Error: Can't find profile directory." in console.
2. Opening links from external apps always create a new window in a "default" profile context
3. firefox --new-tab url produces same effect as in 1 (error window and error in console).

Note: when I started to google for a solution, I surprisingly found that behavior in "Before Update" p.1 is unexpected - Firefox explicitly prevents running multiple instances with the same profile. This never was true at least on FreeBSD for me.