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)
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•19 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•19 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•19 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•19 years ago
|
||
Further poking shows that current firefox trunk is fine (the code was forked), so the attached patch is just for SeaMonkey.
Updated•19 years ago
|
Attachment #190313 -
Flags: review?(caillon) → review+
| Assignee | ||
Comment 5•19 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•19 years ago
|
Assignee: blizzard → ajschult
Updated•19 years ago
|
Attachment #190313 -
Flags: approval1.8b4? → approval1.8b4+
Comment 6•19 years ago
|
||
Fixed on 2005-07-28.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Updated•5 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•