Closed Bug 301923 Opened 19 years ago Closed 19 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)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: clemens.fuchslocher, Assigned: ajschult784)

References

Details

Attachments

(1 file)

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
==> 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
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
Attached patch patchSplinter Review
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)
Further poking shows that current firefox trunk is fine (the code was forked),
so the attached patch is just for SeaMonkey.
Attachment #190313 - Flags: review?(caillon) → review+
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: blizzard → ajschult
Attachment #190313 - Flags: approval1.8b4? → approval1.8b4+
Fixed on 2005-07-28.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
*** Bug 354154 has been marked as a duplicate of this bug. ***
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: