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

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

Issue 1417063011: [runtime] support new Proxy() instead of Proxy.create and install getPrototypeOf trap (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: removing unreachable code Created 5 years, 1 month 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-493568.js ('k') | test/mjsunit/regress/regress-crbug-506956.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/regress/regress-crbug-505907.js
diff --git a/test/mjsunit/regress/regress-crbug-505907.js b/test/mjsunit/regress/regress-crbug-505907.js
index 761261eca0f75e0ec2bcb8b63ae857cb7a3e5b68..c8d4bac9be5249af547ea3fcf58b8ef3cf8612ca 100644
--- a/test/mjsunit/regress/regress-crbug-505907.js
+++ b/test/mjsunit/regress/regress-crbug-505907.js
@@ -5,7 +5,9 @@
// Flags: --harmony-proxies
try {
- var p = Proxy.create({ getPropertyDescriptor: function() { return [] } });
+ var p = new Proxy({}, {
+ getPropertyDescriptor: function() { return [] }
+ });
var o = Object.create(p);
with (o) { unresolved_name() }
} catch(e) {
« no previous file with comments | « test/mjsunit/regress/regress-crbug-493568.js ('k') | test/mjsunit/regress/regress-crbug-506956.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698