Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(499)

Unified Diff: test/mjsunit/es6/typedarray-foreach.js

Issue 2793233003: Revert of [typedarrays] Check detached buffer at start of typed array methods (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/mjsunit/es6/typedarray-findindex.js ('k') | test/mjsunit/es6/typedarray-indexing.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/es6/typedarray-foreach.js
diff --git a/test/mjsunit/es6/typedarray-foreach.js b/test/mjsunit/es6/typedarray-foreach.js
index 7a846b1ac7843a6a732e0d1a752f6ea1c9b4fcd6..b9789805f69b466bdccafdeb457fbca8b192ad8d 100644
--- a/test/mjsunit/es6/typedarray-foreach.js
+++ b/test/mjsunit/es6/typedarray-foreach.js
@@ -148,11 +148,6 @@
assertEquals(Array.prototype.forEach.call(a,
function(elt) { x += elt; }), undefined);
assertEquals(x, 4);
-
- // Detached Operation
- var array = new constructor([1, 2, 3, 4, 5, 6, 7, 8, 9, 10]);
- %ArrayBufferNeuter(array.buffer);
- assertThrows(() => array.forEach(() => true), TypeError);
}
for (i = 0; i < typedArrayConstructors.length; i++) {
« no previous file with comments | « test/mjsunit/es6/typedarray-findindex.js ('k') | test/mjsunit/es6/typedarray-indexing.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698