The goog.testing.stacktrace Namespace

The goog.testing.stacktrace.Frame Class

Class representing one stack frame. … more

.canonicalize(stack)

Brings the stack trace into a common format across browsers.

stack {string}
Browser-specific stack trace.
returns {string}
Same stack trace in common format.

.get()

Gets the native stack trace if available otherwise follows the call chain.

returns {string}
The stack trace in canonical format.

.setDeobfuscateFunctionName(fn)

Sets function to deobfuscate function names.

fn {function(string): string}
function to deobfuscate function names.