v8.h | v8.h | |||
---|---|---|---|---|
skipping to change at line 3083 | skipping to change at line 3083 | |||
static StartupData::CompressionAlgorithm GetCompressedStartupDataAlgorith m(); | static StartupData::CompressionAlgorithm GetCompressedStartupDataAlgorith m(); | |||
static int GetCompressedStartupDataCount(); | static int GetCompressedStartupDataCount(); | |||
static void GetCompressedStartupData(StartupData* compressed_data); | static void GetCompressedStartupData(StartupData* compressed_data); | |||
static void SetDecompressedStartupData(StartupData* decompressed_data); | static void SetDecompressedStartupData(StartupData* decompressed_data); | |||
/** | /** | |||
* Adds a message listener. | * Adds a message listener. | |||
* | * | |||
* The same message listener can be added more than once and in that | * The same message listener can be added more than once and in that | |||
* case it will be called more than once for each message. | * case it will be called more than once for each message. | |||
* | ||||
* If data is specified, it will be passed to the callback when it is cal | ||||
led. | ||||
* Otherwise, the exception object will be passed to the callback instead | ||||
. | ||||
*/ | */ | |||
static bool AddMessageListener(MessageCallback that); | static bool AddMessageListener(MessageCallback that, | |||
Handle<Value> data = Handle<Value>()); | ||||
/** | /** | |||
* Remove all message listeners from the specified callback function. | * Remove all message listeners from the specified callback function. | |||
*/ | */ | |||
static void RemoveMessageListeners(MessageCallback that); | static void RemoveMessageListeners(MessageCallback that); | |||
/** | /** | |||
* Tells V8 to capture current stack trace when uncaught exception occurs | * Tells V8 to capture current stack trace when uncaught exception occurs | |||
* and report it to the message listeners. The option is off by default. | * and report it to the message listeners. The option is off by default. | |||
*/ | */ | |||
End of changes. 2 change blocks. | ||||
1 lines changed or deleted | 7 lines changed or added | |||