Closed Bug 128547 Opened 23 years ago Closed 22 years ago

Merge nsITimer and nsITimerScriptable into a scriptable nsITimer

Categories

(Core :: XPCOM, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 157136
mozilla1.0.1

People

(Reporter: pavlov, Assigned: dougt)

Details

nsITimer and nsITimerScriptable need to be merged into a single scriptable interface.
Don't know if this is needed for 1.0 or embedding.
Status: NEW → ASSIGNED
Keywords: mozilla1.0
Target Milestone: --- → mozilla1.0.1
What's wrong with setTimeout? /be
Was nsITimerScriptable (which I'm about to rename to nsIScriptableTimer) added only for JS components, which lack a DOM global window object, and therefore lack setTimeout? That would explain something. /be
setTimeout doesn't work in JS components where you have no DOM window
Yes, that is the only reason it was added.
pavlov -> dougt
Assignee: pavlov → dougt
Status: ASSIGNED → NEW
*** This bug has been marked as a duplicate of 157136 ***
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.