v8.h   v8.h 
skipping to change at line 1220 skipping to change at line 1220
* Access hidden properties on JavaScript objects. These properties are * Access hidden properties on JavaScript objects. These properties are
* hidden from the executing JavaScript and only accessible through the V 8 * hidden from the executing JavaScript and only accessible through the V 8
* C++ API. Hidden properties introduced by V8 internally (for example th e * C++ API. Hidden properties introduced by V8 internally (for example th e
* identity hash) are prefixed with "v8::". * identity hash) are prefixed with "v8::".
*/ */
bool SetHiddenValue(Handle<String> key, Handle<Value> value); bool SetHiddenValue(Handle<String> key, Handle<Value> value);
Local<Value> GetHiddenValue(Handle<String> key); Local<Value> GetHiddenValue(Handle<String> key);
bool DeleteHiddenValue(Handle<String> key); bool DeleteHiddenValue(Handle<String> key);
/** /**
* Returns true if this is an instance of an api function (one
* created from a function created from a function template) and has
* been modified since it was created. Note that this method is
* conservative and may return true for objects that haven't actually
* been modified.
*/
bool IsDirty();
/**
* Clone this object with a fast but shallow copy. Values will point * Clone this object with a fast but shallow copy. Values will point
* to the same values as the original object. * to the same values as the original object.
*/ */
Local<Object> Clone(); Local<Object> Clone();
/** /**
* Set the backing store of the indexed properties to be managed by the * Set the backing store of the indexed properties to be managed by the
* embedding layer. Access to the indexed properties will follow the rule s * embedding layer. Access to the indexed properties will follow the rule s
* spelled out in CanvasPixelArray. * spelled out in CanvasPixelArray.
* Note: The embedding program still owns the data and needs to ensure th at * Note: The embedding program still owns the data and needs to ensure th at
skipping to change at line 1498 skipping to change at line 1507
enum AccessType { enum AccessType {
ACCESS_GET, ACCESS_GET,
ACCESS_SET, ACCESS_SET,
ACCESS_HAS, ACCESS_HAS,
ACCESS_DELETE, ACCESS_DELETE,
ACCESS_KEYS ACCESS_KEYS
}; };
/** /**
* Returns true if cross-context access should be allowed to the named * Returns true if cross-context access should be allowed to the named
* property with the given key on the global object. * property with the given key on the host object.
*/ */
typedef bool (*NamedSecurityCallback)(Local<Object> global, typedef bool (*NamedSecurityCallback)(Local<Object> host,
Local<Value> key, Local<Value> key,
AccessType type, AccessType type,
Local<Value> data); Local<Value> data);
/** /**
* Returns true if cross-context access should be allowed to the indexed * Returns true if cross-context access should be allowed to the indexed
* property with the given index on the global object. * property with the given index on the host object.
*/ */
typedef bool (*IndexedSecurityCallback)(Local<Object> global, typedef bool (*IndexedSecurityCallback)(Local<Object> host,
uint32_t index, uint32_t index,
AccessType type, AccessType type,
Local<Value> data); Local<Value> data);
/** /**
* A FunctionTemplate is used to create functions at runtime. There * A FunctionTemplate is used to create functions at runtime. There
* can only be one function created from a FunctionTemplate in a * can only be one function created from a FunctionTemplate in a
* context. * context.
* *
* A FunctionTemplate can have properties, these properties are added to th e * A FunctionTemplate can have properties, these properties are added to th e
 End of changes. 5 change blocks. 
4 lines changed or deleted 13 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/