Closed Bug 540665 Opened 16 years ago Closed 15 years ago

Make nsIRunnable a function so JS can use it as such

Categories

(Core :: XPCOM, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla1.9.3a5

People

(Reporter: Gijs, Assigned: jdm)

Details

Attachments

(1 file)

(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.
Attached patch PatchSplinter Review
There seems to be precedent for this (see comment 0). Here's a patch.
Assignee: nobody → josh
Attachment #443013 - Flags: review?(benjamin)
Attachment #443013 - Flags: review?(benjamin) → review+
Keywords: checkin-needed
Status: NEW → RESOLVED
Closed: 15 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.3a5
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: