Closed
Bug 233402
Opened 21 years ago
Closed 6 years ago
search for file: urls if what i type starts with / or c:\
Categories
(Firefox :: Address Bar, defect)
Firefox
Address Bar
Tracking
()
RESOLVED
INACTIVE
People
(Reporter: patrick, Unassigned)
References
Details
(Whiteboard: wontfix?)
Attachments
(1 file, 1 obsolete file)
3.52 KB,
patch
|
patrick
:
review+
|
Details | Diff | Splinter Review |
This is the Firebird version of bug 97031. (Mozilla and Firebird have separate autocomplete systems.) Steps to Reproduce: 1. Type in the url bar a local page: ==> file:///c:/boot.ini 2. Press "Enter" 3. Type "c:/boot" ==> nothing in dropdown 4. Type "file:///c:/boot" ==> file:///c:/boot.ini appears in dropdown Expected Behavior: In step 3, "file:///c:/boot.ini" should appear in the dropdown. The ability to autocomplete on "http://", "https://", etc. was added in bug 94870. For whatever reason, file: didn't make the cut.
Reporter | ||
Comment 1•21 years ago
|
||
This patch has a platform-specific region: #if defined(XP_WIN) || defined(XP_OS2) // on windows we want "e:/foo" to match "file:///e:/foo" #define FILE_SCHEME_PREFIX "file:///" #else // on unix we want "/e/foo" to match "file:///e/foo" #define FILE_SCHEME_PREFIX "file://" #endif I dislike writing platform-specific code, but in this case it's the only way to achieve "least surprise" UI.
Reporter | ||
Updated•21 years ago
|
Assignee: bugs → patrick
Status: NEW → ASSIGNED
Reporter | ||
Updated•21 years ago
|
Attachment #140848 -
Flags: review?(bugs)
Reporter | ||
Updated•21 years ago
|
OS: Windows 2000 → All
Hardware: PC → All
Reporter | ||
Updated•21 years ago
|
Attachment #140848 -
Flags: superreview?(blake)
Attachment #140848 -
Flags: review?(bugs)
Attachment #140848 -
Flags: review?(blake)
This is one of those spots where you do want some platform specific code, because in Windows, people will be cutting and pasting dos style paths from other programs.
Updated•21 years ago
|
Attachment #140848 -
Flags: superreview?(firefox)
Reporter | ||
Comment 3•20 years ago
|
||
fixes some slip due to replacement of NS_QuickSort, also forgot to bump the AUTOCOMPLETE_PREFIX_LIST_COUNT up to 7.
Reporter | ||
Updated•20 years ago
|
Attachment #140848 -
Attachment is obsolete: true
Reporter | ||
Updated•20 years ago
|
Attachment #140848 -
Flags: review?(firefox)
Reporter | ||
Updated•20 years ago
|
Attachment #149528 -
Flags: review+
Updated•18 years ago
|
QA Contact: davidpjames → location.bar
Updated•15 years ago
|
Whiteboard: wontfix?
Updated•8 years ago
|
Assignee: patrick → nobody
Status: ASSIGNED → NEW
Comment 5•6 years ago
|
||
Per policy at https://wiki.mozilla.org/Bug_Triage/Projects/Bug_Handling/Bug_Husbandry#Inactive_Bugs. If this bug is not an enhancement request or a bug not present in a supported release of Firefox, then it may be reopened.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INACTIVE
You need to log in
before you can comment on or make changes to this bug.
Description
•