Closed Bug 540665 Opened 10 years ago Closed 10 years ago
IRunnable a function so JS can use it as such
(based on seeing bug 538920) An nsIRunnable is really nothing but a single run() method (per http://mxr.mozilla.org/mozilla-central/source/xpcom/threads/nsIRunnable.idl ). Seems like JS should be able to get away with just having a function there, too.
There seems to be precedent for this (see comment 0). Here's a patch.
Assignee: nobody → josh
Attachment #443013 - Flags: review?(benjamin)
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.3a5
You need to log in before you can comment on or make changes to this bug.