Closed
Bug 451760
Opened 16 years ago
Closed 16 years ago
Allow matching at beginning of title/url by pref
Categories
(Firefox :: Address Bar, defect)
Firefox
Address Bar
Tracking
()
VERIFIED
FIXED
Firefox 3.1a2
People
(Reporter: Mardak, Assigned: Mardak)
References
Details
Attachments
(1 file)
7.95 KB,
patch
|
dietrich
:
review+
|
Details | Diff | Splinter Review |
Firefox 3.1 already supports ways to match only urls and visited history, so the main thing missing behavior of Firefox 2 is matching only at the beginning.
We already have browser.urlbar.matchBehavior to indicate to match anywhere or match on boundaries, so it'll be easy to make it specify to match at the beginning.
Assignee | ||
Comment 1•16 years ago
|
||
matchBehavior of 3 will only match at the beginning. Testcase tests positive and negative matches as well as a sanity check.
Comment 2•16 years ago
|
||
Comment on attachment 335096 [details] [diff] [review]
v1
r=me, thanks
Attachment #335096 -
Flags: review?(dietrich) → review+
Assignee | ||
Comment 3•16 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → Firefox 3.1a2
Comment 4•16 years ago
|
||
Verified FIXED using the pref setting in comment 0; substrings with that pref set to "3" fail to be found, with:
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; en-US; rv:1.9.1b1pre) Gecko/20080911135921 Minefield/3.1b1pre
Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1b1pre) Gecko/20080911105329 Minefield/3.1b1pre
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1b1pre) Gecko/20080911020347 Minefield/3.1b1pr
Status: RESOLVED → VERIFIED
Comment 6•16 years ago
|
||
I use Win-XP Pro and Firefox 3.0.5 -- just checked for updates -- none shown
I have set the following in about:config
browser.urlbar.matchBehavior .. 3
browser.urlbar.matchOnlyTyped .. true
however, typing in just fi also brings up about:conFIig
Have I missed something?
(In reply to comment #6)
> I use Win-XP Pro and Firefox 3.0.5 -- just checked for updates -- none shown
> I have set the following in about:config
>
> browser.urlbar.matchBehavior .. 3
> browser.urlbar.matchOnlyTyped .. true
>
> however, typing in just fi also brings up about:conFIig
>
> Have I missed something?
Yes, I believe this pref is in 3.1 but not 3.0
(3.1 not being a stable release yet wouldn't show up as an update to 3.0)
You need to log in
before you can comment on or make changes to this bug.
Description
•