ladybird/Userland/Libraries/LibWeb/Bindings
Jonne Ransijn 69f96122b6 LibJS+LibWeb: Prevent double invocation of [[GetOwnProperty]]
The `[[GetOwnProperty]]` internal method invocation in
`OrdinarySetWithOwnDescriptor` was being invocated again with the same
parameters in the `[[DefineOwnProperty]]` internal method that is also
later called in `OrdinarySetWithOwnDescriptor`.

The `PlatformObject.[[DefineOwnProperty]]` has similair logic.

This change adds an optional parameter to the `[[DefineOwnProperty]]`
internal method so the results of the previous `[[GetOwnProperty]]`
internal method invocation can be re-used.
2024-11-02 12:27:02 +01:00
..
AudioConstructor.cpp LibWeb: Rename current_global_object to current_principal_global_object 2024-11-01 12:15:17 -07:00
AudioConstructor.h LibWeb: Add calls to JS_{DECLARE,DEFINE}_ALLOCATOR() 2024-04-09 09:13:06 +02:00
ExceptionOrUtils.h
HostDefined.cpp
HostDefined.h LibWeb: Add scaffold for for "execution context of a realm" 2024-11-01 12:15:17 -07:00
ImageConstructor.cpp LibWeb: Rename current_global_object to current_principal_global_object 2024-11-01 12:15:17 -07:00
ImageConstructor.h LibWeb: Add calls to JS_{DECLARE,DEFINE}_ALLOCATOR() 2024-04-09 09:13:06 +02:00
Intrinsics.cpp LibJS+LibWeb: Use new Cell::Visitor helpers to avoid manual iteration 2024-04-16 07:40:01 +02:00
Intrinsics.h LibWeb: Avoid FlyString lookups when setting IDL interface prototypes 2024-03-16 16:35:54 +01:00
MainThreadVM.cpp LibWeb: Don't assume a Window global object in HostEnqueuePromiseJob 2024-11-02 09:41:58 +00:00
MainThreadVM.h LibWeb: Change HTML::Script to hold a realm instead of settings object 2024-11-01 18:55:23 -06:00
OptionConstructor.cpp LibWeb: Rename current_global_object to current_principal_global_object 2024-11-01 12:15:17 -07:00
OptionConstructor.h LibWeb: Add calls to JS_{DECLARE,DEFINE}_ALLOCATOR() 2024-04-09 09:13:06 +02:00
PlatformObject.cpp LibJS+LibWeb: Prevent double invocation of [[GetOwnProperty]] 2024-11-02 12:27:02 +01:00
PlatformObject.h LibJS+LibWeb: Prevent double invocation of [[GetOwnProperty]] 2024-11-02 12:27:02 +01:00
Serializable.h LibWeb: Add DeserializationMemory parameter to deserialization_steps() 2024-03-20 09:16:01 +01:00
Transferable.h