Fix the value of the caller property of function instances (#4258)

We do not support the caller information for functions, and since a
'null' value represents that there has been no caller, the default value
should be changed to 'undefined' to signal that the information is not
available.

JerryScript-DCO-1.0-Signed-off-by: Dániel Bátyai daniel.batyai@h-lab.eu
This commit is contained in:
Dániel Bátyai
2020-10-01 12:10:11 +02:00
committed by GitHub
parent 69d9b2c326
commit b9e4897c71
4 changed files with 49 additions and 32 deletions
-2
View File
@@ -2864,8 +2864,6 @@
<test id="intl402/supportedLocalesOf-test-option-localeMatcher.js"><reason></reason></test>
<test id="intl402/supportedLocalesOf-throws-if-element-not-string-or-object.js"><reason></reason></test>
<test id="intl402/supportedLocalesOf-unicode-extensions-ignored.js"><reason></reason></test>
<test id="language/arguments-object/10.6-13-a-2.js"><reason></reason></test>
<test id="language/arguments-object/10.6-13-a-3.js"><reason></reason></test>
<test id="language/block-scope/syntax/redeclaration/async-function-name-redeclaration-attempt-with-async-function.js"><reason></reason></test>
<test id="language/block-scope/syntax/redeclaration/async-function-name-redeclaration-attempt-with-async-generator.js"><reason></reason></test>
<test id="language/block-scope/syntax/redeclaration/async-function-name-redeclaration-attempt-with-function.js"><reason></reason></test>