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

Unified Diff: src/objects.h

Issue 1439353004: Implement JSProxy::GetOwnPropertyDescriptor. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: address nit 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/messages.h ('k') | src/objects.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects.h
diff --git a/src/objects.h b/src/objects.h
index 2e346260975286808fdc0ddb0047e0e4b6604581..dd7a6b6e780cb4b8fe138b9f2710608bc75ca3a7 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -9523,8 +9523,13 @@ class JSProxy: public JSReceiver {
DECLARE_CAST(JSProxy)
+ // ES6 9.5.1
static MaybeHandle<Object> GetPrototype(Handle<JSProxy> receiver);
+ // ES6 9.5.5
+ static bool GetOwnPropertyDescriptor(LookupIterator* it,
+ PropertyDescriptor* desc);
+
MUST_USE_RESULT static MaybeHandle<Object> GetPropertyWithHandler(
Handle<JSProxy> proxy,
Handle<Object> receiver,
« no previous file with comments | « src/messages.h ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698