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

Unified Diff: test/mjsunit/regress/regress-crbug-604299.js

Issue 1923803002: Use InternalArrays from certain Intl code (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix test262 status Created 4 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 | « src/js/typedarray.js ('k') | test/test262/test262.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « src/js/typedarray.js ('k') | test/test262/test262.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698