On Jul 13, 2009, at 4:12 PM, Adam Barth wrote:
On Mon, Jul 13, 2009 at 4:08 PM, Maciej Stachowiak<m...@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
_______________________________________________
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev