Index: test/mjsunit/regress/regress-crbug-604299.js |
diff --git a/test/mjsunit/es6/classes-super.js b/test/mjsunit/regress/regress-crbug-604299.js |
similarity index 53% |
copy from test/mjsunit/es6/classes-super.js |
copy to test/mjsunit/regress/regress-crbug-604299.js |
index 7bdf4ba86c1c44c6915a046e7ad48cf463da2c20..9908f2df4d3fde40db76ec5bdb6d06afb6b2e709 100644 |
--- a/test/mjsunit/es6/classes-super.js |
+++ b/test/mjsunit/regress/regress-crbug-604299.js |
@@ -2,14 +2,8 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-"use strict"; |
+Array.prototype.__defineSetter__(0,function(value){}); |
-class Test { |
- m() { |
- super.length = 10; |
- } |
+if (this.Intl) { |
+ var o = new Intl.DateTimeFormat('en-US', {'timeZone': 'Asia/Katmandu'}) |
} |
- |
-var array = []; |
-Test.prototype.m.call(array); |
-assertEquals(10, array.length); |