mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 13:18:13 +00:00
LibJS: Revert partial resizable ArrayBuffer implementation
This is a manual but clean revert of all commits from #12595. Adding a partial implementation of the resizable ArrayBuffer proposal without implementing all the updates to TypedArray infrastructure that is also covered by the spec introduced a bunch of crashes, so we decided to revert it for now until a full implementation is completed.
This commit is contained in:
parent
69a385f559
commit
028a6b90b1
12 changed files with 10 additions and 309 deletions
|
@ -469,10 +469,6 @@ static void print_array_buffer(JS::ArrayBuffer const& array_buffer, HashTable<JS
|
|||
print_type("ArrayBuffer");
|
||||
js_out("\n byteLength: ");
|
||||
print_value(JS::Value((double)byte_length), seen_objects);
|
||||
if (array_buffer.is_resizable_array_buffer()) {
|
||||
js_out("\n maxByteLength: ");
|
||||
print_value(JS::Value((double)array_buffer.max_byte_length()), seen_objects);
|
||||
}
|
||||
if (!byte_length)
|
||||
return;
|
||||
js_outln();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue