Closed Bug 649258 Opened 13 years ago Closed 10 years ago

Cannot open bookmarked URL from command line using it's short name.

Categories

(Firefox :: Bookmarks & History, enhancement)

4.0 Branch
x86_64
Windows 7
enhancement
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: mecha.nism, Unassigned)

References

()

Details

(Keywords: compat, reproducible, ux-control)

User-Agent:       Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0) Gecko/20100101 Firefox/4.0
Build Identifier: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0) Gecko/20100101 Firefox/4.0

I added a bookmark short name "j" for "javascript:%s".
When I'm trying to start firefox with the following prompt:
start /max C:\PROGRA~2\MOZILL~1.0be\FIREFOX.EXE "j alert('Goodbye world!');"
it returns an error:
Firefox не может найти файл (Russian: cannot find the file) /C:/Users/silvery/j alert('Goodbye world!');.

Reproducible: Always

Steps to Reproduce:
1. Make a bookmark of a page.
2. Give it a short name.
3. Start Firefox from command prompt with start /max path_to_firefox\FIREFOX.EXE "defined_short_name"
Actual Results:  
Firefox returns an error:
Firefox не может найти файл (Russian: cannot find the file) /C:/Users/silvery/j alert('Goodbye world!');.

Expected Results:  
The bookmark should be opened. In my case it must be an javascript:alert window, which informs user that his profile has been copied.

Firefox 4.0
Windows 7 x64
Hardware: x86 → x86_64
Version: unspecified → 4.0 Branch
Component: General → Bookmarks & History
we don't plan to implement shortcuts (keywords) from the command line, it would involve complex code that we surely don't want to run at startup for performance reasons, moreover it's a rarely used feature that benefits just a few users, and its scope has never been to provide shortcuts, rather search keywords ("Add a keyword for this search" feature).
So, sorry but I don't think we are going to do this.
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.