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

Unified Diff: test/mjsunit/harmony/regress/regress-crbug-461520.js

Issue 1516843002: [proxy] fixing harmony/proxy.js tests and improving error messages + some drive-by fixes (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: WIP fix protoype walks with access checks Created 5 years 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
Index: test/mjsunit/harmony/regress/regress-crbug-461520.js
diff --git a/test/mjsunit/harmony/regress/regress-crbug-461520.js b/test/mjsunit/harmony/regress/regress-crbug-461520.js
index 5239ecb6cae602b4d27da01af1841c8de7d0f6ac..7ef9e2052055c16b549e9f936a5d6c02bb4b8a58 100644
--- a/test/mjsunit/harmony/regress/regress-crbug-461520.js
+++ b/test/mjsunit/harmony/regress/regress-crbug-461520.js
@@ -5,9 +5,11 @@
// Flags: --harmony-proxies
var fuse = 1;
+
var handler = {
get: function() { return function() {} },
- getPropertyDescriptor: function() {
+ has() { return true },
+ getOwnPropertyDescriptor: function() {
if (fuse-- == 0) throw "please die";
return {value: function() {}, configurable: true};
}

Powered by Google App Engine
This is Rietveld 408576698