Created attachment 279869 [details] [diff] [review] Patch for review, v.1 Bug 378667 added a countLogins() interface, which can be used to count the number of logins stored for a site without needing to compare against a specific actionURL. This can be used by fillDoc() to bail out early when there are no logins stored for the site (it currently steps through each form, because findLogins() needs a specific actionURL).
Attachment #279869 - Flags: review?(gavin.sharp)
Attachment #279869 - Flags: review?(gavin.sharp) → review+
Attachment #279869 - Flags: approval1.9? → approval1.9+
Checked in. cvs commit: Examining toolkit/components/passwordmgr/src Checking in toolkit/components/passwordmgr/src/nsLoginManager.js; /cvsroot/mozilla/toolkit/components/passwordmgr/src/nsLoginManager.js,v <-- nsLoginManager.js new revision: 1.19; previous revision: 1.18 done
Status: NEW → RESOLVED
Last Resolved: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 3 M9
This seems to have improved Tp by 1-2%! Most excellent.
You need to log in before you can comment on or make changes to this bug.