Closed Bug 318170 Opened 20 years ago Closed 9 years ago

xremote-client (or -remote "openURL(www...)") does not work with custom chrome.

Categories

(Core Graveyard :: X-remote, defect)

1.7 Branch
x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: marc_bouffard, Assigned: blizzard)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7 Build Identifier: Mozilla/5.0 (X11;U;Linux i686;en-US;rv:1.7.12) Gecko/20050922 If I have a regular firefox window (no custom chrome) open (in fedora core 4), and I issue: /bin/firefox -remote "openURL(www.google.com)" or xremote-client "openURL(www.google.com)" Then the window that is already open will load the requested URL as it should. But if the existing window has any custom chrome at all (/bin/firefox -chrome chrome://path/to/xul), then issuing the -remote command will always open a new instance of the browser window with the default chrome. Oddly enough, the -remote "ping()" command returns with a status of 0 (as it should), it's just that the openURL doesn't care. I cannot get a custom chrome window to respond to any form of -remote openURL command. This is VERY easy to test, and happens 100% of the time for me (in both FF 1.04 and FF1.07). Simply open up a browser window with any custom chrome components and try to issue a -remote "openURL()". Specifying the -chrome when issuing the -remote command does nothing different. (ie. /bin/firefox -chrome chrome://path/to/xul -remote "openURL(http://www.google.com)" still opens up a new window with the default chrome. -remote "openURL(www...)"cannot seem to find any running window when a -P profile is specified. Reproducible: Always Steps to Reproduce: 1.Start firefox with custom chrome 2.issue: firefox -remote "ping()" (see it returns a 0) 3.issue: firefox -remote "openURL(http://www.google.com)" (can specify new-tab or new-window, does not matter). See that this command open a new window with the default chrome Actual Results: A new browser window with the default chrome is opened. Expected Results: The current browser window with the custom chrome should load the new URL specified via -remote
Assignee: nobody → blizzard
Component: General → X-remote
Product: Firefox → Core
QA Contact: general → blizzard
Version: unspecified → 1.7 Branch
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.16pre) Gecko/20080616 BonEcho/2.0.0.16pre - Build ID: 2008061603 WFM. Several tabs open, current tab holds the download manager as a tab (chrome://downloadmgr/content/downloadtab.xul). firefox -remote "openURL(http://www.google.com)" opens Google in a new tab.
Mass resolving a bunch of old bugs in the x-remote component in preparation for archiving it. If this bug is still valid and useful, please move it to the "Toolkit: Startup and Profile System" component and reopen it.
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → INCOMPLETE
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.