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

Unified Diff: test/mjsunit/regress/regress-1530.js

Issue 993073002: [es6] Function length property should be configurable (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix status file again Created 5 years, 9 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/es7/object-observe.js ('k') | test/mjsunit/regress/regress-function-length-strict.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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: {} })");
« no previous file with comments | « test/mjsunit/es7/object-observe.js ('k') | test/mjsunit/regress/regress-function-length-strict.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698