Files
ladybird/Userland/Libraries/LibJS/Runtime/ArrayBufferConstructor.cpp
Idan Horowitz 1a8b5ef80a LibJS: Stop fetching GlobalObject from target's realm in ArrayBuffer
A function object's realm is not necessarily non-null (like when called
via the Reflect API), so we can't blindly dereference it. Instead use
the object's own GlobalObject.
2022-04-30 21:55:39 +02:00

5.0 KiB