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
_______________________________________________
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

Reply via email to