Closed
Bug 301923
Opened 20 years ago
Closed 20 years ago
Using the new-tab remote command to open a local file, is only working when a file:// prefix is given.
Categories
(Core Graveyard :: X-remote, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: clemens.fuchslocher, Assigned: ajschult784)
References
Details
Attachments
(1 file)
1.33 KB,
patch
|
caillon
:
review+
benjamin
:
approval1.8b4+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6
The following commands are working as expected:
$ firefox -remote "openURL(/tmp)"
$ firefox -remote "openURL(file:///tmp,new-tab)"
$ firefox -remote "openURL(file://localhost/tmp,new-tab)"
But this one fails:
$ firefox -remote "openURL(/tmp,new-tab)"
Reproducible: Always
Assignee | ||
Comment 1•20 years ago
|
||
==> X-Remote
Assignee: nobody → blizzard
Status: UNCONFIRMED → NEW
Component: Startup and Profile System → X-remote
Ever confirmed: true
Product: Firefox → Core
QA Contact: startup → blizzard
Version: unspecified → Trunk
Comment 2•20 years ago
|
||
Seems to work in windows
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) Gecko/20050723
Firefox/1.0+ ID:2005072306
Assignee | ||
Comment 3•20 years ago
|
||
the real problem here is that OpenURI only takes URIs. If it doesn't fall back
to opening in the current tab, it should at least return an error.
Attachment #190313 -
Flags: review?(caillon)
Assignee | ||
Comment 4•20 years ago
|
||
Further poking shows that current firefox trunk is fine (the code was forked),
so the attached patch is just for SeaMonkey.
Updated•20 years ago
|
Attachment #190313 -
Flags: review?(caillon) → review+
Assignee | ||
Comment 5•20 years ago
|
||
Comment on attachment 190313 [details] [diff] [review]
patch
minor change to return an error code instead of failing silently. this is
SeaMonkey-only.
Attachment #190313 -
Flags: approval1.8b4?
Assignee | ||
Updated•20 years ago
|
Assignee: blizzard → ajschult
Updated•20 years ago
|
Attachment #190313 -
Flags: approval1.8b4? → approval1.8b4+
![]() |
||
Comment 6•20 years ago
|
||
Fixed on 2005-07-28.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 7•19 years ago
|
||
*** Bug 354154 has been marked as a duplicate of this bug. ***
Updated•6 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•