[Webkit-unassigned] [Bug 74510] Add ENABLE(HARMONY) and --harmony

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Dec 15 07:02:45 PST 2011


https://bugs.webkit.org/show_bug.cgi?id=74510


Andy Wingo <wingo at igalia.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID




--- Comment #3 from Andy Wingo <wingo at igalia.com>  2011-12-15 07:02:46 PST ---
(In reply to comment #2)
> (From update of attachment 119232 [details])
>The command shell may want to look for this flag as an instruction as to how the source it reads in should be interpreted - to create SourceCode/SourceProvider objects with an ES6 flag set (perhaps this should be a new default-to-false argument to makeSource).

This can make sense, yes.

> I don't know what you'd do with a harmonyBlockScoping global setting - for ES5 scripts it only makes sense to not use harmony scoping rules, for ES6 scripts it only makes sense to do so.

Block scoping is actually a compatible change, as far as strict-mode ES5 goes, so it can make sense to say "ES5 strict-mode also has the compatible parts of ES6" -- the "compatible extended mode" I mentioned in https://lists.webkit.org/pipermail/webkit-dev/2011-December/018903.html.

> I'd suggest that this is a small enough change that it may be wiser to introduce this alongside the first actual harmony feature implemented.

Fair enough.

Thanks for the review :)

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list