Index: test/mjsunit/regress/regress-1530.js |
diff --git a/test/mjsunit/regress/regress-1530.js b/test/mjsunit/regress/regress-1530.js |
index b0daa2c94e53ecbd1d2d84c0da5ca0030398d070..fa86f62ce567f0e3243265b9406a79b216a499a0 100644 |
--- a/test/mjsunit/regress/regress-1530.js |
+++ b/test/mjsunit/regress/regress-1530.js |
@@ -82,7 +82,8 @@ assertThrows("Object.defineProperty(f, 'prototype', { value: {} })"); |
// Verify that non-configurability of other properties is respected, but |
// non-writability is ignored by Object.defineProperty(). |
+// name and length are configurable in ES6 |
Object.defineProperty(f, 'name', { value: {} }); |
-assertThrows("Object.defineProperty(f, 'length', { value: {} })"); |
+Object.defineProperty(f, 'length', { value: {} }); |
assertThrows("Object.defineProperty(f, 'caller', { value: {} })"); |
assertThrows("Object.defineProperty(f, 'arguments', { value: {} })"); |