Symbol.prototype[Symbol.toPrimitive].length should be 1 (#3960)

JerryScript-DCO-1.0-Signed-off-by: Csaba Osztrogonác oszi@inf.u-szeged.hu
This commit is contained in:
Csaba Osztrogonác 2020-07-01 08:54:58 +02:00 committed by GitHub
parent 37049c4968
commit b57e9cbc27
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions

View File

@ -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,

View File

@ -103,7 +103,6 @@
<test id="built-ins/String/prototype/toLowerCase/special_casing_conditional.js"><reason></reason></test>
<test id="built-ins/String/prototype/toLowerCase/supplementary_plane.js"><reason></reason></test>
<test id="built-ins/String/prototype/toUpperCase/supplementary_plane.js"><reason></reason></test>
<test id="built-ins/Symbol/prototype/Symbol.toPrimitive/length.js"><reason></reason></test>
<test id="intl402/6.2.2_a.js"><reason></reason></test>
<test id="intl402/6.2.2_b.js"><reason></reason></test>
<test id="intl402/6.2.2_c.js"><reason></reason></test>