Closed d01c2 closed 8 months ago
By supporting compiler for ForEachOwnPropertyKeyStep
, we can check ESMeta tests all passed including AnalyzeSmallTest, EvalSmallTest. However after conducting tests on test262, it was observed that some tests were failed as following:
- fail (F): 4
+ fail (F): 18
- not-supported (N): 28,479
+ not-supported (N): 28,422
I guess there would be some implementation error in compiler. So I would like to discuss this matter.
In addition, following is fail.json
file I've received:
{
"[InterpreterError] return not undefined: #2979" : [
"built-ins/Object/freeze/15.2.3.9-2-a-8.js"
],
"[InterpreterError] return not undefined: #5141" : [
"built-ins/Object/getOwnPropertyNames/non-object-argument-valid.js"
],
"[InterpreterError] return not undefined: #2401" : [
"built-ins/Object/create/15.2.3.5-4-7.js"
],
"[InterpreterError] return not undefined: #2428" : [
"built-ins/Object/defineProperties/15.2.3.7-2-8.js"
],
"[InterpreterError] return not undefined: #2650" : [
"built-ins/Object/getOwnPropertyNames/15.2.3.4-4-43.js"
],
"[InterpreterError] return not undefined: #2630" : [
"built-ins/Object/getOwnPropertyNames/15.2.3.4-4-42.js"
],
"[InterpreterError] return not undefined: #2363" : [
"built-ins/Object/create/15.2.3.5-4-30.js"
],
"[InterpreterError] return not undefined: #3263" : [
"built-ins/Object/getOwnPropertyNames/15.2.3.4-4-44.js"
],
"[InterpreterError] return not undefined: #2399" : [
"built-ins/Object/defineProperties/15.2.3.7-5-a-9.js"
],
"[InterpreterError] return not undefined: #2990" : [
"built-ins/Object/getOwnPropertyDescriptors/tamper-with-global-object.js"
],
"Java heap space" : [
"language/expressions/tagged-template/tco-call.js",
"language/expressions/tagged-template/tco-member.js"
],
"[InterpreterError] return not undefined: #4193" : [
"built-ins/Reflect/ownKeys/order-after-define-property.js"
],
"[InterpreterError] return not undefined: #2641" : [
"built-ins/Object/isFrozen/15.2.3.12-2-a-12.js"
],
"[InterpreterError] return not undefined: #2881" : [
"built-ins/Object/defineProperties/15.2.3.7-5-b-241.js"
],
"[InterpreterError] return not undefined: #2811" : [
"built-ins/Object/getOwnPropertyDescriptors/primitive-strings.js"
],
"[InterpreterError] return not undefined: #2217" : [
"language/types/number/S8.5_A13_T2.js"
],
"[InterpreterError] return not undefined: #3056" : [
"built-ins/Object/seal/object-seal-p-is-own-property-of-a-string-object-which-implements-its-own-get-own-property.js"
]
}
I guess "Java heap space" is occurred due to testing environment, so we have to fix others.
This PR includes adding
ForEachOwnPropertyKeyStep
to support these statements in spec: