W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2013

Re: document.register and ES6

From: Erik Arvidsson <arv@chromium.org>
Date: Wed, 6 Feb 2013 12:07:52 -0500
Message-ID: <CAJ8+Goi1PvWK46d3Z7OLEFKDMBHf9-7spdhftCgmkfJ7t7EOXw@mail.gmail.com>
To: Boris Zbarsky <bzbarsky@mit.edu>
Cc: public-webapps <public-webapps@w3.org>, Dimitri Glazkov <dglazkov@google.com>, Daniel Buchner <daniel@mozilla.com>
On Wed, Feb 6, 2013 at 5:27 AM, Boris Zbarsky <bzbarsky@mit.edu> wrote:
> Note that I'm still checking how feasible this is in SpiderMonkey on any
> sort of finite timeframe, if we do decide to do this.  Functions right now
> don't have a [[Construct]] member in spidermonkey that's stored on a
> function directly; it's stored on a shared data structure.  So it's
> impossible to change the [[Construct]] of a single function as things
> stand...

This refactoring is needed for ES6 anyway so it might be worth looking
into no matter what.

For V8 we don't have a way to do this at the moment but I was told
that it should be easy to fix.

-- 
erik
Received on Wednesday, 6 February 2013 17:08:39 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:57 GMT