diff options
author | Linus Groh <mail@linusgroh.de> | 2022-07-06 14:19:20 +0200 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-07-06 15:52:57 +0200 |
commit | 028a6b90b1cba4fc94004de1ec1b712ad3ec2f35 (patch) | |
tree | 0fe88933db6f0983cf0dfaa99e7554b6eddc8665 /Userland/Utilities/js.cpp | |
parent | 69a385f5599796f48a8fb49e474ff82fd930bf79 (diff) | |
download | serenity-028a6b90b1cba4fc94004de1ec1b712ad3ec2f35.zip |
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.
Diffstat (limited to 'Userland/Utilities/js.cpp')
-rw-r--r-- | Userland/Utilities/js.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Userland/Utilities/js.cpp b/Userland/Utilities/js.cpp index f4a4e04ed2..22ad20c771 100644 --- a/Userland/Utilities/js.cpp +++ b/Userland/Utilities/js.cpp @@ -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(); |