ladybird/Userland/Libraries/LibWeb/Bindings
Shannon Booth c5c1a8fcc7 Bindings: Make item_value return an Optional<JS::Value>
This removes some ambiguity about what the return value should be if
the index is out of range.

Previously, we would sometimes return a JS null, and other times a JS
undefined.

It will also let us fold together the checks for whether an index is a
supported property index, followed by getting the value just afterwards.
2024-07-26 14:26:16 +02:00
..
AudioConstructor.cpp
AudioConstructor.h
ExceptionOrUtils.h
HostDefined.cpp
HostDefined.h
ImageConstructor.cpp
ImageConstructor.h
Intrinsics.cpp
Intrinsics.h
MainThreadVM.cpp
MainThreadVM.h
OptionConstructor.cpp
OptionConstructor.h
PlatformObject.cpp Bindings: Make item_value return an Optional<JS::Value> 2024-07-26 14:26:16 +02:00
PlatformObject.h Bindings: Make item_value return an Optional<JS::Value> 2024-07-26 14:26:16 +02:00
Serializable.h
Transferable.h