dist/status-bar.js
/**
 * Returns true if the two input stack trace interfaces have the same content
 */
Returns true if the two input stack trace interfaces have the same content
Returns true if the two input stack trace interfaces have the same content
function isSameStacktrace(stack1, stack2) {
  if (isOnlyOneTruthy(stack1, stack2)) return false;
  var frames1 = stack1.frames;
  var frames2 = stack2.frames;
  if (frames1 === undefined || frames2 === undefined) return false;
  if (frames1.length !== frames2.length) return false;
  var a, b;
  for (var i = 0; i < frames1.length; i++) {
    a = frames1[i];
    b = frames2[i];
    if (
      a.filename !== b.filename ||
      a.lineno !== b.lineno ||
      a.colno !== b.colno ||
      a['function'] !== b['function']
    )
      return false;
  }
  return true;
}
function isSameStacktrace ( stack1 , stack2 ) { if ( isOnlyOneTruthy ( stack1 , stack2 ) ) return false ; var frames1 = stack1 . frames ; var frames2 = stack2 . frames ; if ( frames1 === undefined || frames2 === undefined ) return false ; if ( frames1 . length !== frames2 . length ) return false ; var a , b ; for ( var i = 0 ; i < frames1 . length ; i ++ ) { a = frames1 [ i ] ; b = frames2 [ i ] ; if ( a . filename !== b . filename || a . lineno !== b . lineno || a . colno !== b . colno || a [ 'function' ] !== b [ 'function' ] ) return false ; } return true ; }
Returns true if the two input stack trace interfaces have the same content
Returns true if the two input stack trace interfaces have the same content
// Exit early if stacktrace is malformed // Exit early if frame count differs // Iterate through every frame; bail out if anything differs