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

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

Issue 1197403002: Global handle leak in Realm.create() fixed. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 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 | « src/d8.cc ('k') | 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-501808.js
diff --git a/test/message/formal-parameters-strict-body.js b/test/mjsunit/regress/regress-crbug-501808.js
similarity index 72%
copy from test/message/formal-parameters-strict-body.js
copy to test/mjsunit/regress/regress-crbug-501808.js
index c5af7405f7ca114226432b52043e9a0b90bd7208..f9b97841c499cec0d209753dcddf9cfe0c17b520 100644
--- a/test/message/formal-parameters-strict-body.js
+++ b/test/mjsunit/regress/regress-crbug-501808.js
@@ -2,4 +2,5 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-function foo(b, eval) { "use strict"; return b }
+var r = Realm.create();
+assertEquals(0, "a".localeCompare("a"));
« no previous file with comments | « src/d8.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698