new function syntax and poison pill methods

David Bruant bruant.d at gmail.com
Fri Oct 26 14:48:57 PDT 2012


Le 26/10/2012 21:29, Mark S. Miller a écrit :
> (...)
>
> #3 as is is unacceptable, because the spec would be inadequate to
> reason about the security of a SES-for-ES6.
I don't understand why it's the case. Both for built-ins and new syntax,
if there is no "caller" nor "arguments" property at all, I don't see how
it makes harder to reason about the spec.
Is it the inconsistency of some functions having poison pills and others
having nothing?

David

> On Fri, Oct 26, 2012 at 10:37 AM, Allen Wirfs-Brock
> <allen at wirfs-brock.com <mailto:allen at wirfs-brock.com>> wrote:
>
>     (...)
>
>     3)  They never get poison pills because new implementor would be
>     silly enough to associate they legacy features with new syntax.
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20121026/a254f806/attachment.html>


More information about the es-discuss mailing list