DescriptionAdd UseCounters for some nonstandard JavaScript features
This patch adds a UseCounter for each of the following:
- Allowing duplicate sloppy-mode block-scoped function declarations
in the exact same scope
- for-in loops with an initializer
The patch also refactors some of the declaration code to clean it up and
enable the first counter, and adds additional unit tests to nail down
the semantics of edge cases of sloppy-mode block-scoped function declarations.
BUG=v8:4693, chromium:579395
LOG=N
R=adamk
Committed: https://crrev.com/11e8c03f94c6110d9bc7397741a6904580fac86b
Cr-Commit-Position: refs/heads/master@{#33650}
Patch Set 1 #Patch Set 2 : fix bug; reduce indentation #
Total comments: 3
Patch Set 3 : Rebase and reflow comment #
Messages
Total messages: 17 (7 generated)
|