Description[parser] make kInvalidLhsInFor a SyntaxError
Second item in section 13.7.5.1 states that the error should be a
SyntaxError, when previously CheckAndRewriteReferenceExpression
would always emit a ReferenceError.
BUG=v8:4373
R=adamk, rossberg
LOG=N
CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_chromium_rel_ng;tryserver.blink:linux_blink_rel
Committed: https://crrev.com/9b15445e6d4a3cb9b1655b9e57ac3e147118195a
Cr-Commit-Position: refs/heads/master@{#30184}
Patch Set 1 #
Total comments: 2
Patch Set 2 : match FF behaviour #Patch Set 3 : A bunch of webkit test updates #Patch Set 4 : Correct tests #
Messages
Total messages: 16 (4 generated)
|