Closed
Bug 489242
Opened 16 years ago
Closed 15 years ago
do_timeout should take a function as its argument, not a string
Categories
(Testing :: XPCShell Harness, defect)
Testing
XPCShell Harness
Tracking
(Not tracked)
VERIFIED
DUPLICATE
of bug 525819
People
(Reporter: Waldo, Unassigned)
Details
I don't know why do_timeout takes a string and evals it rather than just calling a callback function, but as far as I can tell there isn't a good reason to do so. We should change the API to be sane, perhaps by accepting either a function or a string as the execute-later-argument to start.
Updated•15 years ago
|
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•