1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 07:28:11 +00:00
serenity/Meta/Lagom/Tools/CodeGenerators/LibWeb/WrapperGenerator
Linus Groh f3117d46dc LibJS: Remove GlobalObject from VM::throw_completion()
This is a continuation of the previous five commits.

A first big step into the direction of no longer having to pass a realm
(or currently, a global object) trough layers upon layers of AOs!
Unlike the create() APIs we can safely assume that this is only ever
called when a running execution context and therefore current realm
exists. If not, you can always manually allocate the Error and put it in
a Completion :^)

In the spec, throw exceptions implicitly use the current realm's
intrinsics as well: https://tc39.es/ecma262/#sec-throw-an-exception
2022-08-23 13:58:30 +01:00
..
CMakeLists.txt Meta: Split and refactor the WrapperGenerator a bit 2022-02-17 19:55:27 +01:00
IDLGenerators.cpp LibJS: Remove GlobalObject from VM::throw_completion() 2022-08-23 13:58:30 +01:00
IDLParser.cpp LibWeb: Allow "unrestricted" floats and doubles in IDL 2022-08-14 11:30:40 +02:00
IDLParser.h Lagom: Fix leaks in the IDL Wrapper generator 2022-05-25 22:25:09 +01:00
IDLTypes.h LibWeb: Correct variable name in get_shortest_function_length() 2022-08-14 11:30:40 +02:00
main.cpp LibWeb: Split WrapperGenerator namespace check into an Array + contains 2022-07-19 00:46:04 +01:00