mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-15 04:29:27 +00:00
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`. |
||
---|---|---|
.. | ||
class-accessor-enumerable.js | ||
class-advanced-extends.js | ||
class-basic.js | ||
class-constructor.js | ||
class-errors.js | ||
class-expressions.js | ||
class-getters.js | ||
class-inheritance.js | ||
class-methods.js | ||
class-private-fields.js | ||
class-public-fields.js | ||
class-setters.js | ||
class-static-getters.js | ||
class-static-initializers.js | ||
class-static-setters.js | ||
class-static.js | ||
class-strict-mode.js |