Closed Bug 113008 Opened 24 years ago Closed 24 years ago

nsIDOMNodeFilter should be flagged with [function]

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla0.9.7

People

(Reporter: jst, Assigned: jst)

Details

(Whiteboard: [HAVE FIX])

It would make a lot of sense in JS to be able to pass in a JS function as a node filter, this can be done with: Index: dom/public/idl/traversal/nsIDOMNodeFilter.idl =================================================================== RCS file: /cvsroot/mozilla/dom/public/idl/traversal/nsIDOMNodeFilter.idl,v retrieving revision 1.1 diff -u -r1.1 nsIDOMNodeFilter.idl --- dom/public/idl/traversal/nsIDOMNodeFilter.idl 26 May 2001 10:04:04 -00 00 1.1 +++ dom/public/idl/traversal/nsIDOMNodeFilter.idl 1 Dec 2001 06:08:14 -0000 @@ -36,7 +36,7 @@ #include "domstubs.idl" -[scriptable, uuid(e4723748-1dd1-11b2-8ee6-866a532a6237)] +[scriptable, function, uuid(e4723748-1dd1-11b2-8ee6-866a532a6237)] // Introduced in DOM Level 2: interface nsIDOMNodeFilter : nsISupports { r=? sr=?
Status: NEW → ASSIGNED
Whiteboard: [HAVE FIX]
Target Milestone: --- → mozilla0.9.7
sr=jband
Fix checked in.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.