Re: __defineProperty__ documentation?
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.javascript archive

Re: __defineProperty__ documentation?

From: Olov Johansson <olov.johansson@gmail.com>
Date: Thu Jan 19 2006 - 20:01:26 CET

Martin Honnen wrote:

> 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
Received on Tue Feb 7 21:14:10 2006