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

Unified Diff: src/objects.h

Issue 1482283002: [runtime] [proxy] implementing [[Get]] trap. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: more specific assertThrows 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
Index: src/objects.h
diff --git a/src/objects.h b/src/objects.h
index 23d8038be021ad6b4419a498a34fc29db9b85ab7..5f9eaa21c5cd63b8b47f3490529de7cec0ce834e 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -9520,6 +9520,11 @@ class JSProxy: public JSReceiver {
Handle<JSProxy> proxy,
Handle<Name> name);
+ // ES6 9.5.8
+ MUST_USE_RESULT static MaybeHandle<Object> GetProperty(
+ Isolate* isolate, Handle<JSProxy> proxy, Handle<Name> name,
+ Handle<Object> receiver, LanguageMode language_mode);
+
// ES6 9.5.10 (when passed SLOPPY)
MUST_USE_RESULT static Maybe<bool> DeletePropertyOrElement(
Handle<JSProxy> proxy, Handle<Name> name, LanguageMode language_mode);
@@ -9534,11 +9539,6 @@ class JSProxy: public JSReceiver {
Enumerability enum_policy,
KeyAccumulator* accumulator);
- MUST_USE_RESULT static MaybeHandle<Object> GetPropertyWithHandler(
- Handle<JSProxy> proxy,
- Handle<Object> receiver,
- Handle<Name> name);
-
// If the handler defines an accessor property with a setter, invoke it.
// If it defines an accessor property without a setter, or a data property
// that is read-only, fail. In all these cases set '*done' to true.
« no previous file with comments | « src/js/proxy.js ('k') | src/objects.cc » ('j') | test/mjsunit/harmony/proxies-get.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698