Closed
Bug 416973
Opened 18 years ago
Closed 10 years ago
firefox remote control cannot use current window
Categories
(Core Graveyard :: X-remote, defect)
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
People
(Reporter: mozilla, Assigned: blizzard)
Details
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.11) Gecko/20071204 Ubuntu/7.10 (gutsy) Firefox/2.0.0.11
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.11) Gecko/20071204 Ubuntu/7.10 (gutsy) Firefox/2.0.0.11
According to http://www.mozilla.org/unix/remote.html, the shell command
firefox -remote 'openurl(http://mozilla.org)'
should open the specified document without prompting.
The document is expected to be opened in the current window, since there are specific options for opening in a new tab or a new window, and there is no option for explicit opening in the current window.
(the bug has also been observed in prior 2.0.x versions)
Reproducible: Always
Steps to Reproduce:
(cf. "Additional Information")
Actual Results:
(cf. "Additional Information")
Expected Results:
(cf. "Additional Information")
A minor modification of /usr/lib/firefox/components/nsBrowserContentHandler.js
would be sufficient, i.e. modifiyng the single line no 336 from
var target = nsIBrowserDOMWindow.OPEN_DEFAULTWINDOW;
to
var target = nsIBrowserDOMWindow.OPEN_CURRENTWINDOW;
(cf. http://www.xulplanet.com/references/xpcomref/ifaces/nsIBrowserDOMWindow.html)
| Reporter | ||
Comment 1•18 years ago
|
||
I've forgotten to explicitely mention that the document is always opened in a new window or a new tab (depends on indidiual preference settings) but not in the current window (as required and expected)
Updated•18 years ago
|
Assignee: nobody → blizzard
Component: General → X-remote
Product: Firefox → Core
QA Contact: general → blizzard
Comment 2•18 years ago
|
||
I can confirm that annoying bug. I'll try the proposed solution.
Comment 3•17 years ago
|
||
I have this too. (what I really want is another option, replace-all, which means the new window is the only window open. However the current state just leaves you ever increasing numbers of tabs.
Comment 4•10 years ago
|
||
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: 10 years ago
Resolution: --- → INCOMPLETE
Updated•7 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•