Open Bug 952475 Opened 11 years ago Updated 2 years ago

Let JS-implemented WebIDL implement Func in JS


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





(Reporter: mccr8, Unassigned)


(Depends on 1 open bug, Blocks 1 open bug)


Peter suggested this might be doable on top of bug 863952.  It would be pretty cool for people to be able to use Func without having to write any C++.
It's not quite trivial.  Func presupposes that you can introspect things like the current compartment of the caller (via aCx) and info about the global involved (via aObj).

In JS we can keep the latter, but not so much the former...

Maybe the right thing to do is to pass in the compartment's global (as a stand-in for the compartment) and the object the property would go on or something?

Move all DOM bugs that haven’t been updated in more than 3 years and has no one currently assigned to P5.

If you have questions, please contact :mdaly.
Priority: -- → P5
Component: DOM → DOM: Core & HTML
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.