toCanonicalString() {
    'use strict';
    const htmlEscape = goog.testing.stacktrace.htmlEscape_;
    const deobfuscate = goog.testing.stacktrace.maybeDeobfuscateFunctionName_;

    const canonical = [
      this.context_ ? htmlEscape(this.context_) + '.' : '',
      this.name_ ? htmlEscape(deobfuscate(this.name_)) : 'anonymous',
      this.alias_ ? ' [as ' + htmlEscape(deobfuscate(this.alias_)) + ']' : ''
    ];

    if (this.path_) {
      canonical.push(' at ');
      canonical.push(htmlEscape(this.path_));
    }
    return canonical.join('');
  }
Brings one frame of the stack trace into a common format across browsers.
@return {string} Pretty printed stack frame.