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

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

Issue 2045153002: Add test case for 85b8c2dc (fix observable array access in messages.js). (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 6 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/regress/regress-crbug-617527.js
diff --git a/test/message/generators-throw1.js b/test/mjsunit/regress/regress-crbug-617527.js
similarity index 54%
copy from test/message/generators-throw1.js
copy to test/mjsunit/regress/regress-crbug-617527.js
index f544d33328508d36e9332295807a371c8c303599..cf4662871c4ce68e3e72bd9efa14d1f0258dd987 100644
--- a/test/message/generators-throw1.js
+++ b/test/mjsunit/regress/regress-crbug-617527.js
@@ -1,9 +1,8 @@
// Copyright 2016 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-//
-// Flags: --ignition-generators
-function* f() { yield }
+// Flags: --enable-slow-asserts
-f().throw(42);
+Object.defineProperty(Array.prototype, "1", { get: toLocaleString });
+assertThrows(_ => new RegExp(0, 0));
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698