Allen Wirfs-Brock wrote:
This raises the issue that ES5.1 overlooked poisoning caller/arguments for Function.prototype. Only function object created using the algorithm in 13.2 have the the poison pill properties and Function.prototype is not specified using 13.2.

Function.prototype is special already:

js> Function.prototype
function () {}
js> Function.prototype.prototype
js>

I think we did the right thing in not adding poisoned pills to it. Was there a capability leak involving Function.prototype that I missed?

/be
_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to