v8.h   v8.h 
skipping to change at line 685 skipping to change at line 685
*/ */
Handle<Value> GetScriptResourceName() const; Handle<Value> GetScriptResourceName() const;
/** /**
* Returns the resource data for the script from where the function causi ng * Returns the resource data for the script from where the function causi ng
* the error originates. * the error originates.
*/ */
Handle<Value> GetScriptData() const; Handle<Value> GetScriptData() const;
/** /**
* Exception stack trace. By default stack traces are not captured for
* uncaught exceptions. SetCaptureStackTraceForUncaughtExceptions allows
* to change this option.
*/
Handle<StackTrace> GetStackTrace() const;
/**
* Returns the number, 1-based, of the line where the error occurred. * Returns the number, 1-based, of the line where the error occurred.
*/ */
int GetLineNumber() const; int GetLineNumber() const;
/** /**
* Returns the index within the script of the first character where * Returns the index within the script of the first character where
* the error occurred. * the error occurred.
*/ */
int GetStartPosition() const; int GetStartPosition() const;
skipping to change at line 2397 skipping to change at line 2404
*/ */
static bool AddMessageListener(MessageCallback that, static bool AddMessageListener(MessageCallback that,
Handle<Value> data = Handle<Value>()); 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
* and report it to the message listeners. The option is off by default.
*/
static void SetCaptureStackTraceForUncaughtExceptions(
bool capture,
int frame_limit = 10,
StackTrace::StackTraceOptions options = StackTrace::kOverview);
/**
* Sets V8 flags from a string. * Sets V8 flags from a string.
*/ */
static void SetFlagsFromString(const char* str, int length); static void SetFlagsFromString(const char* str, int length);
/** /**
* Sets V8 flags from the command line. * Sets V8 flags from the command line.
*/ */
static void SetFlagsFromCommandLine(int* argc, static void SetFlagsFromCommandLine(int* argc,
char** argv, char** argv,
bool remove_flags); bool remove_flags);
 End of changes. 2 change blocks. 
0 lines changed or deleted 16 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/