Commit ed0b63a6 authored by Shu-yu Guo's avatar Shu-yu Guo Committed by Commit Bot

Mark assignment to call expression test262 tests as deliberate incompat

Expressions like `foo() = 42` are specified as syntax errors but due to
web compat must be kept as runtime errors.

Bug: v8:10976
Change-Id: If2b549a3a1c35248c46319fa0e898872d40789a8
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2471979
Auto-Submit: Shu-yu Guo <syg@chromium.org>
Reviewed-by: 's avatarMarja Hölttä <marja@chromium.org>
Commit-Queue: Shu-yu Guo <syg@chromium.org>
Cr-Commit-Position: refs/heads/master@{#70538}
parent 25959978
......@@ -679,10 +679,6 @@
'language/module-code/export-expname-from-string-string': [FAIL],
'language/module-code/export-expname-import-string-binding': [FAIL],
# http://crbug/v8/10976
'language/expressions/assignmenttargettype/direct-callexpression-arguments': [FAIL],
'language/expressions/assignmenttargettype/parenthesized-callexpression-arguments': [FAIL],
# http://crbug/v8/10977
'language/statements/class/elements/arrow-body-indirect-eval-err-contains-arguments': [FAIL],
'language/statements/class/elements/nested-indirect-eval-err-contains-arguments': [FAIL],
......@@ -705,6 +701,11 @@
# https://github.com/tc39/ecma262/pull/889
'annexB/language/function-code/block-decl-func-skip-arguments': [FAIL],
# Non-simple assignment targets are runtime errors instead of syntax errors
# for web compat. https://crbug.com/358346
'language/expressions/assignmenttargettype/direct-callexpression-arguments': [FAIL],
'language/expressions/assignmenttargettype/parenthesized-callexpression-arguments': [FAIL],
############################ INVALID TESTS #############################
# Test makes unjustified assumptions about the number of calls to SortCompare.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment