[webkit-dev] ExecState::thisObject()
Maciej Stachowiak
mjs at apple.com
Mon Jul 13 16:16:04 PDT 2009
On Jul 13, 2009, at 4:12 PM, Adam Barth wrote:
> On Mon, Jul 13, 2009 at 4:08 PM, Maciej Stachowiak<mjs at apple.com>
> wrote:
>> 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.
>
> You might be thinking of boxing primitive values, which do indeed get
> their prototypes from the current lexical scope.
Hmm. Exporting "home global object" behavior to some of the built-in
JS types would be more challenging than doing it just for DOM objects.
Some of the built-in classes are up against the JSC cell size limit.
Regards,
Maciej
More information about the webkit-dev
mailing list