Chromium Code Reviews
DescriptionChange order of operations in array functions to match the specification.
In particular, read and convert the lenght to uint32 as the first step in
most functions, so that if that operation throws, it does so before any
other step has a chance to fail.
Fixes issue 75562.
BUG=75562
TEST=mjsunit/regress/regress-75562
Patch Set 1 #
Total comments: 3
Patch Set 2 : Avoid unneccesary calls. #
Messages
Total messages: 2 (0 generated)
|
||||||||||||||||||||||||||||