B2G/gecko/browser/devtools/scratchpad/scratchpad.js
/**
   * Update the Scratchpad window title based on the current state.
   * @private
   */
Update the Scratchpad window title based on the current state.
@private
Update the Scratchpad window title based on the current state . @private
function SP__updateTitle()
  {
    if (this.filename) {
      document.title = (this.editor && this.editor.dirty ? "*" : "") +
                       this.filename;
    } else {
      document.title = this._initialWindowTitle;
    }
  }
function SP__updateTitle ( ) { if ( this . filename ) { document . title = ( this . editor && this . editor . dirty ? "*" : "" ) + this . filename ; } else { document . title = this . _initialWindowTitle ; } }
Update the Scratchpad window title based on the current state.
Update the Scratchpad window title based on the current state .