Closed Bug 489242 Opened 15 years ago Closed 15 years ago

do_timeout should take a function as its argument, not a string

Categories

(Testing :: XPCShell Harness, defect)

defect
Not set
minor

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.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
V.Duplicate
Status: RESOLVED → VERIFIED
Version: unspecified → Trunk
You need to log in before you can comment on or make changes to this bug.