diff options
Diffstat (limited to 'deps/v8/test/mjsunit/es6/typedarray-fill.js')
-rw-r--r-- | deps/v8/test/mjsunit/es6/typedarray-fill.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/deps/v8/test/mjsunit/es6/typedarray-fill.js b/deps/v8/test/mjsunit/es6/typedarray-fill.js index 9ed220373b..791b214734 100644 --- a/deps/v8/test/mjsunit/es6/typedarray-fill.js +++ b/deps/v8/test/mjsunit/es6/typedarray-fill.js @@ -74,12 +74,12 @@ for (var constructor of typedArrayConstructors) { var tmp = { [Symbol.toPrimitive]() { assertUnreachable("Parameter should not be processed when " + - "array.[[ViewedArrayBuffer]] is neutered."); + "array.[[ViewedArrayBuffer]] is detached."); return 0; } }; var array = new constructor([1, 2, 3, 4, 5, 6, 7, 8, 9, 10]); - %ArrayBufferNeuter(array.buffer); + %ArrayBufferDetach(array.buffer); assertThrows(() => array.fill(tmp), TypeError); } |