Index: test/mjsunit/regress/regress-crbug-505007-2.js |
diff --git a/test/mjsunit/regress/regress-crbug-501711.js b/test/mjsunit/regress/regress-crbug-505007-2.js |
similarity index 70% |
copy from test/mjsunit/regress/regress-crbug-501711.js |
copy to test/mjsunit/regress/regress-crbug-505007-2.js |
index f8eda6e8d8e26f41b79e05af891b0f5446b5cd37..dfa34ae6adec495615ef73a2f5c97aa21f5f415c 100644 |
--- a/test/mjsunit/regress/regress-crbug-501711.js |
+++ b/test/mjsunit/regress/regress-crbug-505007-2.js |
@@ -2,13 +2,14 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-// Flags: --stack-size=100 |
+// Flags: --stack-size=100 --allow-natives-syntax |
+function g() {} |
function f() { |
try { |
f(); |
} catch(e) { |
- Realm.create(); |
+ %ExecuteInDebugContext(g); |
} |
} |
f(); |