From: christian.plesner.hansen@gmail.com Date: Tue, 21 Apr 2009 13:28:22 +0000 (+0000) Subject: doc X-Git-Tag: upstream/4.7.83~24279 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c47a188fae28e9ba3375a53806eee19a27d040a1;p=platform%2Fupstream%2Fv8.git doc git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1752 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- diff --git a/include/v8.h b/include/v8.h index ec10c05..b8b0d49 100644 --- a/include/v8.h +++ b/include/v8.h @@ -1045,6 +1045,13 @@ class V8EXPORT Object : public Value { bool Set(Handle key, Handle value, PropertyAttribute attribs = None); + + // Sets a local property on this object, bypassing interceptors and + // overriding accessors or read-only properties. + // + // Note that if the object has an interceptor the property will be set + // locally, but since the interceptor takes precedence the local property + // will only be returned if the interceptor doesn't return a value. bool ForceSet(Handle key, Handle value, PropertyAttribute attribs = None);