v8.h | v8.h | |||
---|---|---|---|---|
skipping to change at line 1434 | skipping to change at line 1434 | |||
// | // | |||
// Note also that this only works for named properties. | // Note also that this only works for named properties. | |||
V8EXPORT bool ForceSet(Handle<Value> key, | V8EXPORT bool ForceSet(Handle<Value> key, | |||
Handle<Value> value, | Handle<Value> value, | |||
PropertyAttribute attribs = None); | PropertyAttribute attribs = None); | |||
V8EXPORT Local<Value> Get(Handle<Value> key); | V8EXPORT Local<Value> Get(Handle<Value> key); | |||
V8EXPORT Local<Value> Get(uint32_t index); | V8EXPORT Local<Value> Get(uint32_t index); | |||
/** | ||||
* Gets the property attributes of a property which can be None or | ||||
* any combination of ReadOnly, DontEnum and DontDelete. Returns | ||||
* None when the property doesn't exist. | ||||
*/ | ||||
V8EXPORT PropertyAttribute GetPropertyAttributes(Handle<Value> key); | ||||
// TODO(1245389): Replace the type-specific versions of these | // TODO(1245389): Replace the type-specific versions of these | |||
// functions with generic ones that accept a Handle<Value> key. | // functions with generic ones that accept a Handle<Value> key. | |||
V8EXPORT bool Has(Handle<String> key); | V8EXPORT bool Has(Handle<String> key); | |||
V8EXPORT bool Delete(Handle<String> key); | V8EXPORT bool Delete(Handle<String> key); | |||
// Delete a property on this object bypassing interceptors and | // Delete a property on this object bypassing interceptors and | |||
// ignoring dont-delete attributes. | // ignoring dont-delete attributes. | |||
V8EXPORT bool ForceDelete(Handle<Value> key); | V8EXPORT bool ForceDelete(Handle<Value> key); | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 7 lines changed or added | |||