[webkit-dev] ExecState::thisObject()

Geoffrey Garen ggaren at apple.com
Mon Jul 13 16:10:31 PDT 2009


>> Consider this case, which does not involve a DOM object:
>>
>> frames[0].Array.prototype.push.__proto__ ==  
>> Array.prototype.push.__proto__
>
> Built-in classes work somewhat differently. I believe they use the  
> calling function's global object ("lexical global object") rather  
> than having some notion of home object.

In Firefox 3.0, built-ins use a "home object".

Geoff


More information about the webkit-dev mailing list