Proxies and observable spec algorithms

Andreas Rossberg rossberg at google.com
Mon Apr 16 02:15:55 PDT 2012


On 15 April 2012 00:22, David Bruant <bruant.d at gmail.com> wrote:
> Today, I came across a test on Firefox test suite [1]. This test
> verifies that on the proxy, the traps gets called in the right order
> according to the ES5 algorithm of Array.prototype.splice.
> Seeing this test made me realize that as soon as proxy gets in the spec
> and implemented in web browsers, every single built-in function
> algorithm will be observable, so will need to be frozen while before
> proxies, they didn't need to (which allowed internal refactorings).

Yes, see also this thread:

https://mail.mozilla.org/pipermail/es-discuss/2011-October/017091.html

/Andreas


More information about the es-discuss mailing list