Closed Bug 464943 Opened 17 years ago Closed 10 years ago

Login autocomplete results no longer sorted

Categories

(Toolkit :: Password Manager, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 107957
mozilla1.9.1

People

(Reporter: bugzilla, Unassigned)

Details

Attachments

(2 files)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; da; rv:1.9.0.4) Gecko/2008102920 Firefox/3.0.4 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; da; rv:1.9.0.4) Gecko/2008102920 Firefox/3.0.4 Autocomplete results of usernames in a login form are not sorted alphabetically like they were in Firefox 2. There is a possibly related bug 418343 which fixed the sorting in any other form field than username fields. Reproducible: Always Steps to Reproduce: 1. Find a login form 2. Enter "a" as username and a password and click the login button 3. Choose to remember the password 4. Go back to the login form and repeat step 2 and 3 this time using "c" as username 5. Do step 4 again, but using "b" as username this time 6. Go back to the login form and double click the username field to bring up the autocomplete results. Actual Results: The autocomplete results are not sorted. The order is "a", "c", "b" Expected Results: The autocomplete results are sorted alphabetically. The order is "a", "b", "c" This bug is copied to bugzilla from http://forum.mozilladanmark.dk/viewtopic.php?t=4727 . The original reporter was Thomas Allan.
Assignee: nobody → dolske
Status: UNCONFIRMED → NEW
Ever confirmed: true
Target Milestone: --- → mozilla1.9.1
Version: unspecified → Trunk
Attached patch Patch v.1Splinter Review
Bah, the sort logic has been wrong all along. It's probably only partially sorting results, just enough to pass the current tests. Need to look if there's a way to jigger the tests to reliably fail with the current code.
How do I apply the patch?
Is this a dupe of bug 107957?
Assignee: dolske → nobody
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: