1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 11:28:12 +00:00
serenity/Userland/Libraries/LibWeb/WebAssembly
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
..
WebAssemblyInstanceConstructor.cpp LibWeb: Remove unecessary dependence on Window from WebAssembly classes 2022-10-01 21:05:32 +01:00
WebAssemblyInstanceConstructor.h LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01:00
WebAssemblyInstanceObject.cpp LibJS: Remove Object(Object& prototype) footgun 2022-12-14 15:11:57 +01:00
WebAssemblyInstanceObject.h LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01:00
WebAssemblyInstanceObjectPrototype.cpp LibJS: Pass Realm to define_native_{accessor,function}() 2022-08-23 13:58:30 +01:00
WebAssemblyInstanceObjectPrototype.h LibJS: Remove Object(Object& prototype) footgun 2022-12-14 15:11:57 +01:00
WebAssemblyMemoryConstructor.cpp LibWeb: Remove unecessary dependence on Window from WebAssembly classes 2022-10-01 21:05:32 +01:00
WebAssemblyMemoryConstructor.h LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01:00
WebAssemblyMemoryPrototype.cpp LibJS: Convert ArrayBuffer::create() to NonnullGCPtr 2022-12-14 09:59:45 +00:00
WebAssemblyMemoryPrototype.h LibJS: Remove Object(Object& prototype) footgun 2022-12-14 15:11:57 +01:00
WebAssemblyModuleConstructor.cpp LibWeb: Remove unecessary dependence on Window from WebAssembly classes 2022-10-01 21:05:32 +01:00
WebAssemblyModuleConstructor.h LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01:00
WebAssemblyModuleObject.cpp LibJS: Remove Object(Object& prototype) footgun 2022-12-14 15:11:57 +01:00
WebAssemblyModuleObject.h LibJS+LibWeb: Replace GlobalObject with Realm in object constructors 2022-08-23 13:58:30 +01:00
WebAssemblyModulePrototype.h LibJS: Remove Object(Object& prototype) footgun 2022-12-14 15:11:57 +01:00
WebAssemblyObject.cpp LibJS: Remove Object(Object& prototype) footgun 2022-12-14 15:11:57 +01:00
WebAssemblyObject.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
WebAssemblyTableConstructor.cpp Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
WebAssemblyTableConstructor.h LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01:00
WebAssemblyTableObject.cpp LibJS: Remove Object(Object& prototype) footgun 2022-12-14 15:11:57 +01:00
WebAssemblyTableObject.h LibJS+LibWeb: Replace GlobalObject with Realm in object constructors 2022-08-23 13:58:30 +01:00
WebAssemblyTablePrototype.cpp LibJS+LibWeb: Make Runtime/AbstractOperations.h not include AST.h 2022-11-23 16:05:59 +00:00
WebAssemblyTablePrototype.h LibJS: Remove Object(Object& prototype) footgun 2022-12-14 15:11:57 +01:00