1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-16 07:34:58 +00:00
serenity/Userland/Libraries/LibWeb/Bindings
Linus Groh b84f8fb55b LibJS: Make intrinsics getters return NonnullGCPtr
Some of these are allocated upon initialization of the intrinsics, and
some lazily, but in neither case the getters actually return a nullptr.

This saves us a whole bunch of pointer dereferences (as NonnullGCPtr has
an `operator T&()`), and also has the interesting side effect of forcing
us to explicitly use the FunctionObject& overload of call(), as passing
a NonnullGCPtr is ambigous - it could implicitly be turned into a Value
_or_ a FunctionObject& (so we have to dereference manually).
2023-04-13 14:29:42 +02:00
..
AudioConstructor.cpp LibJS: Make intrinsics getters return NonnullGCPtr 2023-04-13 14:29:42 +02:00
AudioConstructor.h LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
ExceptionOrUtils.h LibWeb/WebIDL: Store SimpleException message as a String{,View} variant 2023-03-03 19:50:36 +00:00
HostDefined.cpp LibWeb: Move Web prototypes and constructors to new Intrinsics object 2022-10-01 21:05:32 +01:00
HostDefined.h LibWeb: Make HostDefined and Intrinsics free functions [[nodiscard]] 2022-10-09 10:14:57 +02:00
ImageConstructor.cpp LibJS: Make intrinsics getters return NonnullGCPtr 2023-04-13 14:29:42 +02:00
ImageConstructor.h LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
Intrinsics.cpp Everywhere: Remove unused DeprecatedString includes 2023-04-09 22:00:54 +02:00
Intrinsics.h LibWeb: Support generating IDL namespaces 2023-03-15 12:48:25 -04:00
LegacyPlatformObject.cpp LibWeb: Restore proper functionality of legacy platform objects 2023-02-28 12:36:14 +01:00
LegacyPlatformObject.h LibWeb: Restore proper functionality of legacy platform objects 2023-02-28 12:36:14 +01:00
MainThreadVM.cpp LibWeb: Add WebGL::EventNames 2023-04-09 17:27:27 +02:00
MainThreadVM.h LibWeb: Introduce CustomElementRegistry and creating custom elements 2023-04-06 11:36:56 +02:00
OptionConstructor.cpp LibJS: Make intrinsics getters return NonnullGCPtr 2023-04-13 14:29:42 +02:00
OptionConstructor.h LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
PlatformObject.cpp LibJS: Remove Object(Object& prototype) footgun 2022-12-14 15:11:57 +01:00
PlatformObject.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00