Skip to content

Commit

Permalink
Normative: Disallow ArrayBuffers bigger than 2**53
Browse files Browse the repository at this point in the history
  • Loading branch information
dewren99 committed Apr 30, 2023
1 parent ef1524e commit d5fa8a4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -4507,6 +4507,7 @@ <h1>
<dl class="header">
</dl>
<emu-alg>
1. If _size_ > 2<sup>53</sup> - 1, throw a *RangeError* exception.
1. Let _db_ be a new Data Block value consisting of _size_ bytes. If it is impossible to create such a Data Block, throw a *RangeError* exception.
1. Set all of the bytes of _db_ to 0.
1. Return _db_.
Expand Down

0 comments on commit d5fa8a4

Please sign in to comment.