Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index 89659dad76a65b821e55861f734cce8021b370d7..92e1c5208af81d220c966fc3b02377548d39bc25 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -9530,9 +9530,18 @@ class JSProxy: public JSReceiver { |
DECLARE_CAST(JSProxy) |
+ static bool IsRevoked(Handle<JSProxy> proxy); |
+ |
// ES6 9.5.1 |
static MaybeHandle<Object> GetPrototype(Handle<JSProxy> receiver); |
+ // ES6 9.5.3 |
+ MUST_USE_RESULT static Maybe<bool> IsExtensible(Handle<JSProxy> proxy); |
+ |
+ // ES6 9.5.4 (when passed DONT_THROW) |
+ MUST_USE_RESULT static Maybe<bool> PreventExtensions( |
+ Handle<JSProxy> proxy, ShouldThrow should_throw); |
+ |
// ES6 9.5.5 |
static bool GetOwnPropertyDescriptor(LookupIterator* it, |
PropertyDescriptor* desc); |
@@ -9585,6 +9594,9 @@ class JSProxy: public JSReceiver { |
private: |
friend class JSReceiver; |
+ MUST_USE_RESULT static MaybeHandle<Object> GetTrap(Handle<JSProxy> proxy, |
+ Handle<String> trap); |
+ |
// Invoke a trap by name. If the trap does not exist on this's handler, |
// but derived_trap is non-NULL, invoke that instead. May cause GC. |
MUST_USE_RESULT static MaybeHandle<Object> CallTrap( |