ladybird/Userland/Libraries/LibWeb/Bindings
Andreas Kling 4abdb68655 LibJS: Remove Object(Object& prototype) footgun
This constructor was easily confused with a copy constructor, and it was
possible to accidentally copy-construct Objects in at least one way that
we dicovered (via generic ThrowCompletionOr construction).

This patch adds a mandatory ConstructWithPrototypeTag parameter to the
constructor to disambiguate it.
2022-12-14 15:11:57 +01:00
..
AudioConstructor.cpp LibWeb: Handle currently ignored WebIDL::ExceptionOr<T>s 2022-10-31 14:12:44 +00:00
AudioConstructor.h LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01:00
CSSNamespace.cpp LibJS: Remove Object(Object& prototype) footgun 2022-12-14 15:11:57 +01:00
CSSNamespace.h LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01:00
ExceptionOrUtils.h LibWeb: Ensure dom_exception_to_throw_completion() always takes a VM 2022-10-29 15:48:46 +01:00
FetchMethod.cpp AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
FetchMethod.h LibWeb: Implement the fetch() method :^) 2022-10-30 20:10:29 +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 AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
ImageConstructor.h LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01:00
Intrinsics.cpp AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
Intrinsics.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
LegacyPlatformObject.cpp LibJS: Replace standalone js_string() with PrimitiveString::create() 2022-12-07 16:43:06 +00:00
LegacyPlatformObject.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
LocationConstructor.cpp LibWeb: Use prototype and constructor methods from new Intrinsics 2022-10-01 21:05:32 +01:00
LocationConstructor.h LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01:00
LocationObject.cpp LibJS: Replace standalone js_string() with PrimitiveString::create() 2022-12-07 16:43:06 +00:00
LocationObject.h LibWeb: Implement window.location.origin 2022-11-13 16:37:09 -07:00
LocationPrototype.h LibJS: Remove Object(Object& prototype) footgun 2022-12-14 15:11:57 +01:00
MainThreadVM.cpp LibJS: Convert Object::create() to NonnullGCPtr 2022-12-14 09:59:45 +00:00
MainThreadVM.h LibWeb: Teach MainThreadVM about module scripts 2022-10-24 22:58:51 +01:00
OptionConstructor.cpp LibWeb: Handle currently ignored WebIDL::ExceptionOr<T>s 2022-10-31 14:12:44 +00:00
OptionConstructor.h LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01: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
Replaceable.h LibJS: Remove GlobalObject from VM::this_value() 2022-08-23 13:58:30 +01:00
WindowConstructor.cpp LibWeb: Use prototype and constructor methods from new Intrinsics 2022-10-01 21:05:32 +01:00
WindowConstructor.h LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01:00
WindowPrototype.h LibJS: Remove Object(Object& prototype) footgun 2022-12-14 15:11:57 +01:00