Closed
Bug 792390
Opened 12 years ago
Closed 12 years ago
Avoid calling textbox.focus() before textbox.select()
Categories
(Firefox :: General, defect)
Firefox
General
Tracking
()
RESOLVED
FIXED
Firefox 18
People
(Reporter: dao, Assigned: dao)
References
Details
(Keywords: perf)
Attachments
(1 file)
1.42 KB,
patch
|
enndeakin
:
review+
|
Details | Diff | Splinter Review |
inputField.select() automatically focuses the input field, so we don't need to explicitly focus it beforehand. select() also uses FLAG_NOSCROLL, which focus() doesn't.
Attachment #662516 -
Flags: review?(enndeakin)
Updated•12 years ago
|
Attachment #662516 -
Flags: review?(enndeakin) → review+
Assignee | ||
Comment 1•12 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/b267a6f936fd
Comment 2•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/b267a6f936fd
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 18
You need to log in
before you can comment on or make changes to this bug.
Description
•