Fix function name evaluation order (#4830)
JerryScript-DCO-1.0-Signed-off-by: Daniel Batiz daniel.batiz@h-lab.eu
This commit is contained in:
@@ -78,6 +78,6 @@ let C3 = class C4 {
|
||||
static yy = this
|
||||
}
|
||||
|
||||
assert(Reflect.ownKeys(C3).toString() === "length,prototype,f,name,xx,yy")
|
||||
assert(Reflect.ownKeys(C3).toString() === "length,name,prototype,f,xx,yy")
|
||||
check_property(C3, "xx", C3)
|
||||
check_property(C3, "yy", C3)
|
||||
|
||||
@@ -335,4 +335,7 @@
|
||||
<test id="language/expressions/assignment/fn-name-lhs-member.js"><reason>Outdated test, anonymous functions should now have a name property</reason></test>
|
||||
<test id="language/expressions/function/name.js"><reason>Outdated test, anonymous functions should now have a name property</reason></test>
|
||||
<test id="language/expressions/generators/name.js"><reason>Outdated test, anonymous functions should now have a name property</reason></test>
|
||||
<test id="language/computed-property-names/class/static/method-number.js"><reason>ES12 15.7.14.15.d: The evaluation order has been changed</reason></test>
|
||||
<test id="language/computed-property-names/class/static/method-string.js"><reason>ES12 15.7.14.15.d: The evaluation order has been changed</reason></test>
|
||||
<test id="language/computed-property-names/class/static/method-symbol.js"><reason>ES12 15.7.14.15.d: The evaluation order has been changed</reason></test>
|
||||
</excludeList>
|
||||
|
||||
@@ -61,9 +61,6 @@
|
||||
<test id="language/block-scope/syntax/redeclaration/generator-name-redeclaration-attempt-with-async-function.js"><reason></reason></test>
|
||||
<test id="language/block-scope/syntax/redeclaration/generator-name-redeclaration-attempt-with-function.js"><reason></reason></test>
|
||||
<test id="language/block-scope/syntax/redeclaration/generator-name-redeclaration-attempt-with-generator.js"><reason></reason></test>
|
||||
<test id="language/computed-property-names/class/static/method-number.js"><reason></reason></test>
|
||||
<test id="language/computed-property-names/class/static/method-string.js"><reason></reason></test>
|
||||
<test id="language/computed-property-names/class/static/method-symbol.js"><reason></reason></test>
|
||||
<test id="language/eval-code/direct/non-definable-function-with-function.js"><reason></reason></test>
|
||||
<test id="language/eval-code/direct/non-definable-function-with-variable.js"><reason></reason></test>
|
||||
<test id="language/eval-code/direct/non-definable-global-function.js"><reason></reason></test>
|
||||
|
||||
Reference in New Issue
Block a user