__defineProperty__ documentation?

O

Olov Johansson

Hi,
I'm looking for documentation on the __defineProperty__ SpiderMonkey
extension.


Olov Johansson
 
O

Olov Johansson

Martin said:
Or in which version of Spidermonkey do you have a method
__defineProperty__ for what kind of object?

I saw it in Narcissus [
http://lxr.mozilla.org/mozilla/source/js/narcissus/js.js ] and figured
that it would therefore be in the current released Spidermonkey, but as
you point out it doesn't work on Spidermonkey as of Firefox 1.5. It
seems like the feature is only available in the HEAD-branch [
http://lxr.mozilla.org/mozilla/source/js/src/js.c ] where it's only
used in between #ifdef NARCISSUS, so it seems like an internal feature
making a metacircular interpreter a bit easier to write. The post would
have been more appropiate on netscape.public.mozilla.jseng.


/Olov Johansson
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,756
Messages
2,569,540
Members
45,025
Latest member
KetoRushACVFitness

Latest Threads

Top