Closed
Bug 875042
Opened 13 years ago
Closed 13 years ago
Remove unnecessary setTimeout from search-textbox constructor
Categories
(Firefox :: Search, defect)
Tracking
()
RESOLVED
FIXED
Firefox 24
People
(Reporter: mconley, Assigned: mconley)
References
Details
Attachments
(1 file)
|
1016 bytes,
patch
|
mconley
:
review+
|
Details | Diff | Splinter Review |
The search-textbox constructor uses setTimeout to delay the call to the initialize method. According to the history books (and gavin), this is because, at least at some point, we were regressing on talos, and this fixed things (since initializing used to also kick off the search service).
Well, it doesn't kick off the search service anymore, and it's causing test failures for our patch for bug 865926. Dolske and Gavin have decreed that it's bogus, so I'll strip it out.
| Assignee | ||
Comment 2•13 years ago
|
||
Landed on inbound as https://hg.mozilla.org/integration/mozilla-inbound/rev/f0b62fbadce9
Comment 3•13 years ago
|
||
(Bug 330887 last fiddled with this, but the original addition of the setTimeout dates back to an early 2006 change (CVS v1.4) by Blake Ross without a bug.)
Comment 4•13 years ago
|
||
(You could also have just removed "initialize" entirely, putting it directly in the constructor.)
Comment 5•13 years ago
|
||
((additional parenthetical :))
Comment 6•13 years ago
|
||
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 24
| Assignee | ||
Comment 7•13 years ago
|
||
(I've filed a follow-up (bug 875297) to move the stuff from initialize into the constructor.)
You need to log in
before you can comment on or make changes to this bug.
Description
•