mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 21:29:06 +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
Notes:
sideshowbarker
2024-07-17 09:39:20 +09:00
Author: https://github.com/linusg
Commit: 028a6b90b1
Pull-request: https://github.com/SerenityOS/serenity/pull/14500
Reviewed-by: https://github.com/IdanHo ✅
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