ladybird/Libraries/LibJS/Tests/classes
Pavel Shliak 4f0e8236a0 LibJS: Make class accessors non-enumerable
According to ECMA-262 ยง15.4.5 (MethodDefinitionEvaluation),
getters and setters defined in class bodies
must create property descriptors with
[[Enumerable]]: false. Previously we incorrectly marked them enumerable.

This patch updates `ClassMethod::class_element_evaluation` so that both
getter and setter descriptors use `.enumerable = false`.
2025-09-07 08:35:10 -04:00
..
class-accessor-enumerable.js LibJS: Make class accessors non-enumerable 2025-09-07 08:35:10 -04:00
class-advanced-extends.js Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
class-basic.js Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
class-constructor.js Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
class-errors.js Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
class-expressions.js Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
class-getters.js Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
class-inheritance.js LibJS: Fix bytecode generation for super property stores and loads 2025-02-15 06:59:59 -05:00
class-methods.js Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
class-private-fields.js Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
class-public-fields.js Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
class-setters.js Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
class-static-getters.js Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
class-static-initializers.js LibJS: Set empty function parameters on ClassStaticInit scope 2025-04-05 18:20:36 +01:00
class-static-setters.js Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
class-static.js Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
class-strict-mode.js Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00