Skip to content

Commit c5fd0a6

Browse files
Check IsTypedArrayOutOfBounds
1 parent 152c970 commit c5fd0a6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

index.bs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9333,6 +9333,7 @@ a reference to the same object that the IDL value represents.
93339333
1. [=/Assert=]: |jsBufferSource| is a [=typed array type=] instance.
93349334
1. Let |taRecord| be [$MakeTypedArrayWithBufferWitnessRecord$](|jsBufferSource|,
93359335
Seq-Cst).
9336+
1. If [$IsTypedArrayOutOfBounds$](|taRecord|) is true, return 0.
93369337
1. Return [$TypedArrayByteLength$](|taRecord|).
93379338
1. Otherwise:
93389339
1. [=/Assert=]: |jsBufferSource| is a {{DataView}}.

0 commit comments

Comments
 (0)