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

Unified Diff: src/js/proxy.js

Issue 1479143002: [proxies] [[HasProperty]]: fix trap call. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: rebased 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 | « src/contexts.h ('k') | src/objects.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/js/proxy.js
diff --git a/src/js/proxy.js b/src/js/proxy.js
index d1202f7066bd2d66170f7518f0b95376fb77807a..92612b52f16e9ebac37f7de69bccdf835e0bc582 100644
--- a/src/js/proxy.js
+++ b/src/js/proxy.js
@@ -130,10 +130,6 @@ function DerivedSetTrap(receiver, name, val) {
return true;
}
-function DerivedHasTrap(name) {
- return !!this.getPropertyDescriptor(name)
-}
-
function DerivedHasOwnTrap(name) {
return !!this.getOwnPropertyDescriptor(name)
}
@@ -197,7 +193,6 @@ utils.Export(function(to) {
%InstallToContext([
"derived_get_trap", DerivedGetTrap,
- "derived_has_trap", DerivedHasTrap,
"derived_set_trap", DerivedSetTrap,
"proxy_enumerate", ProxyEnumerate,
]);
« no previous file with comments | « src/contexts.h ('k') | src/objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698