ladybird/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
WebAssemblyInstanceConstructor.h
WebAssemblyInstanceObject.cpp LibJS: Remove Object(Object& prototype) footgun 2022-12-14 15:11:57 +01:00
WebAssemblyInstanceObject.h
WebAssemblyInstanceObjectPrototype.cpp
WebAssemblyInstanceObjectPrototype.h LibJS: Remove Object(Object& prototype) footgun 2022-12-14 15:11:57 +01:00
WebAssemblyMemoryConstructor.cpp
WebAssemblyMemoryConstructor.h
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
WebAssemblyModuleConstructor.h
WebAssemblyModuleObject.cpp LibJS: Remove Object(Object& prototype) footgun 2022-12-14 15:11:57 +01:00
WebAssemblyModuleObject.h
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
WebAssemblyTableConstructor.cpp
WebAssemblyTableConstructor.h
WebAssemblyTableObject.cpp LibJS: Remove Object(Object& prototype) footgun 2022-12-14 15:11:57 +01:00
WebAssemblyTableObject.h
WebAssemblyTablePrototype.cpp
WebAssemblyTablePrototype.h LibJS: Remove Object(Object& prototype) footgun 2022-12-14 15:11:57 +01:00