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

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

Issue 1215463012: Fixed a couple of proxies-related unhandled exceptions. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Addressed comments Created 5 years, 5 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 | « test/mjsunit/regress/regress-crbug-505907.js ('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-506956.js
diff --git a/test/mjsunit/regress/regress-449070.js b/test/mjsunit/regress/regress-crbug-506956.js
similarity index 51%
copy from test/mjsunit/regress/regress-449070.js
copy to test/mjsunit/regress/regress-crbug-506956.js
index 7a0f0a838cdd25817ab6a2d8f63c1ef9fbe6e526..5862ddb296747f4622778a82db65ae2eda1e58c1 100644
--- a/test/mjsunit/regress/regress-449070.js
+++ b/test/mjsunit/regress/regress-crbug-506956.js
@@ -1,10 +1,12 @@
// Copyright 2015 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: --allow-natives-syntax
+
+// Flags: --harmony-proxies
try {
- %NormalizeElements(this);
+ var p = Proxy.create({ getPropertyDescriptor: function() { throw "boom"; } });
+ var o = Object.create(p);
+ with (o) { delete unresolved_name; }
} catch(e) {
}
« no previous file with comments | « test/mjsunit/regress/regress-crbug-505907.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698