Files
ladybird/Userland/Libraries/LibJS/Runtime/ArrayBuffer.h
Ali Mohammad Pur 7589cc2494 LibJS: Handle possible allocation failure in ArrayBuffer(size_t)
...by replacing it with a ctor that takes the buffer instead, and
handling the allocation failure in ArrayBuffer::create(size_t) by
throwing a RangeError as specified by the spec.
2021-09-06 01:53:26 +02:00

8.6 KiB