Can Activation Object have a [[Prototype]]?
brendan at mozilla.com
Mon Dec 28 22:58:45 PST 2009
On Dec 28, 2009, at 10:43 PM, Garrett Smith wrote:
> On Mon, Dec 28, 2009 at 9:29 PM, Brendan Eich <brendan at mozilla.com>
> That says that a program cannot access the activation object. It does
> not say that activation object cannot have a [[Prototype]].
If it did, then you could detect the existence of Activation objects,
even though they are inaccessible due to |this| censoring (null
replacement, followed by "the global object" replacing null).
You're right the wording was too narrow, though. Fixed in ES5, at
least (the Blackberry implementation almost certainly predates ES5 or
ES3.1 language that eliminated "activation objects").
More information about the es-discuss