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

Unified Diff: include/v8.h

Issue 2807333003: [api] Add DefineProperty() method that skips interceptors.
Patch Set: Created 3 years, 8 months 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 | « no previous file | src/api.cc » ('j') | src/builtins/builtins-object.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/v8.h
diff --git a/include/v8.h b/include/v8.h
index 14a119f0e85e3be738d9649be869de6085d1c7b6..f8ce09ceb3e1abd019766b82cfa194892aa9ce6d 100644
--- a/include/v8.h
+++ b/include/v8.h
@@ -3006,6 +3006,9 @@ class V8_EXPORT Object : public Value {
V8_WARN_UNUSED_RESULT Maybe<bool> DefineProperty(
Local<Context> context, Local<Name> key, PropertyDescriptor& descriptor);
+ V8_WARN_UNUSED_RESULT Maybe<bool> DefinePropertyWithoutInterceptors(
Franzi 2017/04/12 08:58:17 Can you add a comment please. Maybe make the funct
+ Local<Context> context, Local<Name> key, PropertyDescriptor& descriptor);
+
// Sets an own property on this object bypassing interceptors and
// overriding accessors or read-only properties.
//
« no previous file with comments | « no previous file | src/api.cc » ('j') | src/builtins/builtins-object.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698