On Mon, Jul 13, 2009 at 3:36 PM, Geoffrey Garen<gga...@apple.com> wrote:
> Sam and I just noticed that, to fully support this behavior, any host object
> that lazily constructs function properties using the functions in lookup.h
> must either
>
> (a) change in the same way as DOM objects must change
>
> or
>
> (b) eagerly construct its function properties with the correct prototype.
>
>
> Consider this case, which does not involve a DOM object:
>
> frames[0].Array.prototype.push.__proto__ == Array.prototype.push.__proto__

Yep...  My guess is that (a) is probably better, but you two are more
expert on why we use lazy construction.

Adam
_______________________________________________
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

Reply via email to