1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-10-24 19:12:32 +00:00
serenity/Userland/Libraries/LibJS/Tests/classes
Linus Groh 766f30f593 LibJS: Check if class extends value has a valid prototype
If we have a function as class extends value, we still cannot assume
that it has a prototype property and that property has a function or
null as its value - blindly calling to_object() on it may fail.

Fixes #5075.
2021-01-24 00:09:18 +01:00
..
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-setters.js
class-static-getters.js
class-static-setters.js
class-static.js
class-strict-mode.js