Index: test/mjsunit/external-array.js |
diff --git a/test/mjsunit/external-array.js b/test/mjsunit/external-array.js |
index deb3c8659dba17982dee3725698aece1bd5322c7..81788d4779e372b665580b34181d8c1bbe16f52b 100644 |
--- a/test/mjsunit/external-array.js |
+++ b/test/mjsunit/external-array.js |
@@ -605,8 +605,10 @@ a61.set(a62) |
assertArrayPrefix([1, 12], a61) |
// Invalid source |
-assertThrows(function() { a.set(0) }) |
-assertThrows(function() { a.set({}) }) |
+a.set(0); // does not throw |
+assertArrayPrefix([1,2,3,4,5,6], a); |
+a.set({}); // does not throw |
+assertArrayPrefix([1,2,3,4,5,6], a); |
// Test arraybuffer.slice |