Converts an array of CallSite (elements of a stack trace in V8) to an array
of Frames.
Arguments:
|
code » | ||
Brings the stack trace into a common format across browsers.
|
code » | ||
![]()
Function to deobfuscate function names.
|
code » | ||
Creates a stack trace by following the call chain. Based on
goog.debug.getStacktrace .
|
code » | ||
Converts the stack frames into canonical format. Chops the beginning and the
end of it which come from the testing environment, not from the test itself.
Arguments:
Returns: string
Canonical, pretty printed stack trace.
|
code » | ||
Gets the native stack trace if available otherwise follows the call chain.
Returns: string
The stack trace in canonical format.
|
code » | ||
Returns the native stack trace.
|
code » | ||
Escapes the special character in HTML.
|
code » | ||
No description.
Returns: boolean
Whether the Closure Inspector is active.
|
code » | ||
Deobfuscates a compiled function name with the function passed to
#setDeobfuscateFunctionName . Returns the original function name if
the deobfuscator hasn't been set.
|
code » | ||
Parses a long firefox stack frame.
Arguments:
Returns: !goog.testing.stacktrace.Frame
Stack frame object.
|
code » | ||
Parses one stack frame.
Arguments:
Returns: goog.testing.stacktrace.Frame
Stack frame object or null if the
parsing failed.
|
code » | ||
Parses the browser's native stack trace.
Arguments:
Returns: !Array.<goog.testing.stacktrace.Frame>
Stack frames. The
unrecognized frames will be nulled out.
|
code » | ||
![]()
Sets function to deobfuscate function names.
Arguments:
|
code » |
![]()
RegExp pattern for function name alias in the Chrome stack trace.
|
Code » | |
![]()
RegExp pattern for function call in the Chrome stack trace.
Creates 3 submatches with context object (optional), function name and
function alias (optional).
|
Code » | |
![]()
RegExp pattern for function names and constructor calls in the Chrome stack
trace.
|
Code » | |
![]()
Regular expression for parsing one stack frame in Chrome.
|
Code » | |
![]()
RegExp pattern for an URL + line number + column number in Chrome.
The URL is either in submatch 1 or submatch 2.
|
Code » | |
![]()
RegExp pattern for function call in the Firefox stack trace.
Creates 2 submatches with function name (optional) and arguments.
|
Code » | |
![]()
Regular expression for parsing one stack frame in Firefox.
|
Code » | |
![]()
Regular expression for finding the function name in its source.
|
Code » | |
![]()
RegExp pattern for JavaScript identifiers. We don't support Unicode
identifiers defined in ECMAScript v3.
|
Code » | |
![]()
RegExp pattern for function call in a IE stack trace. This expression allows
for identifiers like 'Anonymous function', 'eval code', and 'Global code'.
|
Code » | |
![]()
Regular expression for parsing a stack frame in IE.
|
Code » | |
![]()
Maximum number of steps while the call chain is followed.
|
Code » | |
![]()
Maximum length of a string that can be matched with a RegExp on
Firefox 3x. Exceeding this approximate length will cause string.match
to exceed Firefox's stack quota. This situation can be encountered
when goog.globalEval is invoked with a long argument; such as
when loading a module.
|
Code » | |
![]()
RegExp pattern for an anonymous function call in an Opera stack frame.
Creates 2 (optional) submatches: the context object and function name.
|
Code » | |
![]()
RegExp pattern for a function call in an Opera stack frame.
Creates 4 (optional) submatches: the function name (if not anonymous),
the aliased context object and function name (if anonymous), and the
function call arguments.
|
Code » | |
![]()
Regular expression for parsing on stack frame in Opera 11.68+
|
Code » | |
![]()
RegExp pattern for an URL + position inside the file.
|
Code » |