Closed
Bug 454090
Opened 16 years ago
Closed 16 years ago
Use .trim() in search service
Categories
(Firefox :: Search, defect)
Firefox
Search
Tracking
()
RESOLVED
FIXED
Firefox 3.1b1
People
(Reporter: philor, Assigned: philor)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
2.97 KB,
patch
|
Gavin
:
review+
|
Details | Diff | Splinter Review |
Thanks to bug 305064, nsSearchService.js no longer needs to roll its own sTrim() function. I saw as I was looking at what I was attaching that I made one logic change, from lowercase-then-trim to trim-then-lowercase, but I'd be rather surprised by any character that turns into a space when lowercased, and not lowercasing spaces ought to save several femtoseconds.
Attachment #337313 -
Flags: review?(gavin.sharp)
Updated•16 years ago
|
Attachment #337313 -
Flags: review?(gavin.sharp) → review+
Assignee | ||
Comment 1•16 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/d3342a3cc677
Blocks: 220348
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 3.1b1
You need to log in
before you can comment on or make changes to this bug.
Description
•