B2G/gecko/browser/components/tabview/modules/utils.jsm
// Prints a stack trace along with label (as a console message) if condition is false.
Prints a stack trace along with label (as a console message) if condition is false.
Prints a stack trace along with label ( as a console message ) if condition is false .
function Utils_assert(condition, label) {
    if (!condition) {
      let text;
      if (typeof label != 'string')
        text = 'badly formed assert';
      else
        text = "tabview assert: " + label;
      this.trace(text);
    }
  }
function Utils_assert ( condition , label ) { if ( ! condition ) { let text ; if ( typeof label != 'string' ) text = 'badly formed assert' ; else text = "tabview assert: " + label ; this . trace ( text ) ; } }
Prints a stack trace along with label (as a console message) if condition is false.
Prints a stack trace along with label ( as a console message ) if condition is false .