From b57e9cbc2706d89c3872b9b44e4b452c5df65d8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Csaba=20Osztrogon=C3=A1c?= Date: Wed, 1 Jul 2020 08:54:58 +0200 Subject: [PATCH] Symbol.prototype[Symbol.toPrimitive].length should be 1 (#3960) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit JerryScript-DCO-1.0-Signed-off-by: Csaba Osztrogonác oszi@inf.u-szeged.hu --- .../ecma/builtin-objects/ecma-builtin-symbol-prototype.inc.h | 2 +- tests/test262-es6-excludelist.xml | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/jerry-core/ecma/builtin-objects/ecma-builtin-symbol-prototype.inc.h b/jerry-core/ecma/builtin-objects/ecma-builtin-symbol-prototype.inc.h index fcab7cf6d..317aa8872 100644 --- a/jerry-core/ecma/builtin-objects/ecma-builtin-symbol-prototype.inc.h +++ b/jerry-core/ecma/builtin-objects/ecma-builtin-symbol-prototype.inc.h @@ -33,7 +33,7 @@ ROUTINE (LIT_MAGIC_STRING_VALUE_OF_UL, ecma_builtin_symbol_prototype_object_valu ROUTINE_CONFIGURABLE_ONLY (LIT_GLOBAL_SYMBOL_TO_PRIMITIVE, ecma_builtin_symbol_prototype_object_to_primitive, 0, - 0) + 1) /* ECMA-262 v6, 19.4.3.4 */ STRING_VALUE (LIT_GLOBAL_SYMBOL_TO_STRING_TAG, diff --git a/tests/test262-es6-excludelist.xml b/tests/test262-es6-excludelist.xml index 7244a2ddc..6d3788a73 100644 --- a/tests/test262-es6-excludelist.xml +++ b/tests/test262-es6-excludelist.xml @@ -103,7 +103,6 @@ -