B2G/gecko/browser/devtools/debugger/debugger-controller.js
/**
   * Attempts to quit the current process if allowed.
   */
Attempts to quit the current process if allowed.
Attempts to quit the current process if allowed .
function DC__quitApp() {
    let canceled = Cc["@mozilla.org/supports-PRBool;1"]
      .createInstance(Ci.nsISupportsPRBool);
    Services.obs.notifyObservers(canceled, "quit-application-requested", null);
    if (canceled.data) {
      return;
    }
    Services.startup.quit(Ci.nsIAppStartup.eAttemptQuit);
  }
function DC__quitApp ( ) { let canceled = Cc [ "@mozilla.org/supports-PRBool;1" ] . createInstance ( Ci . nsISupportsPRBool ) ; Services . obs . notifyObservers ( canceled , "quit-application-requested" , null ) ; if ( canceled . data ) { return ; } Services . startup . quit ( Ci . nsIAppStartup . eAttemptQuit ) ; }
Attempts to quit the current process if allowed.
Attempts to quit the current process if allowed .
// Somebody canceled our quit request.