Namespace goog.testing.stacktrace
code »Classes
|
Global Functions
code »goog.testing.stacktrace.callSitesToFrames_ ( stack ) ⇒ !ArrayConverts an array of CallSite (elements of a stack trace in V8) to an array
of Frames.
!Array| Parameters |
|---|
|
| Returns |
|
code »goog.testing.stacktrace.canonicalize ( stack ) ⇒ stringBrings the stack trace into a common format across browsers.
string| Parameters |
|---|
|
| Returns |
|
Function to deobfuscate function names.
Creates a stack trace by following the call chain. Based on
goog.debug.getStacktrace.
goog.debug.getStacktrace.| Returns |
|---|
|
code »goog.testing.stacktrace.framesToString_ ( frames ) ⇒ stringConverts 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.
string| Parameters |
|---|
|
| Returns |
|
Gets the native stack trace if available otherwise follows the call chain.
| Returns |
|---|
|
Returns the native stack trace.
code »goog.testing.stacktrace.htmlEscape_ ( text ) ⇒ stringEscapes the special character in HTML.
string| Parameters |
|---|
|
| Returns |
|
Deobfuscates a compiled function name with the function passed to
#setDeobfuscateFunctionName. Returns the original function name if
the deobfuscator hasn't been set.
#setDeobfuscateFunctionName. Returns the original function name if
the deobfuscator hasn't been set.| Parameters |
|---|
|
| Returns |
|
Parses a long firefox stack frame.
| Parameters |
|---|
|
| Returns |
|
Parses one stack frame.
| Parameters |
|---|
|
| Returns |
|
Parses the browser's native stack trace.
| Parameters |
|---|
|
| Returns |
|