Closed
Bug 113008
Opened 24 years ago
Closed 24 years ago
nsIDOMNodeFilter should be flagged with [function]
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
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=?
Assignee | ||
Updated•24 years ago
|
Status: NEW → ASSIGNED
Whiteboard: [HAVE FIX]
Target Milestone: --- → mozilla0.9.7
r=dbaron The DOM 2 spec even seems to agree:
http://www.w3.org/TR/DOM-Level-2-Traversal-Range/ecma-script-binding.html
Comment 2•24 years ago
|
||
sr=jband
Assignee | ||
Comment 3•24 years ago
|
||
Fix checked in.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•