ladybird/Userland/Libraries/LibJS
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
..
Heap Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Runtime LibJS: Check if class extends value has a valid prototype 2021-01-24 00:09:18 +01:00
Tests LibJS: Check if class extends value has a valid prototype 2021-01-24 00:09:18 +01:00
AST.cpp LibJS: Check if class extends value has a valid prototype 2021-01-24 00:09:18 +01:00
AST.h LibJS: Replace ASTNode::class_name() with RTTI 2021-01-17 14:36:53 +01:00
CMakeLists.txt Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Console.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Console.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Forward.h LibJS: Add JS::NativeFunction to the forwarding header 2021-01-18 12:18:29 +01:00
Interpreter.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Interpreter.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Lexer.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Lexer.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
MarkupGenerator.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
MarkupGenerator.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Parser.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Parser.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
SourceRange.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Token.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Token.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00