Index: src/js/proxy.js |
diff --git a/src/js/proxy.js b/src/js/proxy.js |
index 55d0594e0701b57e81eec0ac64bbd71bcca9d5ca..6eaa231acfd70a76541c8b2fd963fed067f2220a 100644 |
--- a/src/js/proxy.js |
+++ b/src/js/proxy.js |
@@ -71,18 +71,6 @@ function DelegateCallAndConstruct(callTrap, constructTrap) { |
} |
} |
-function DerivedGetTrap(receiver, name) { |
- var desc = this.getPropertyDescriptor(name) |
- if (IS_UNDEFINED(desc)) { return desc } |
- if ('value' in desc) { |
- return desc.value |
- } else { |
- if (IS_UNDEFINED(desc.get)) { return desc.get } |
- // The proposal says: desc.get.call(receiver) |
- return %_Call(desc.get, receiver) |
- } |
-} |
- |
function DerivedSetTrap(receiver, name, val) { |
var desc = this.getOwnPropertyDescriptor(name) |
if (desc) { |
@@ -192,7 +180,6 @@ utils.Export(function(to) { |
}); |
%InstallToContext([ |
- "derived_get_trap", DerivedGetTrap, |
"proxy_enumerate", ProxyEnumerate, |
]); |