 if (typeof crossDomain != "undefined") crossDomain.disable();  
function goQuitApplication(){  const privs = 'UniversalXPConnect';  try  {    netscape.security.PrivilegeManager.enablePrivilege(privs);  }  catch(ex)  {    throw('goQuitApplication: privilege failure ' + ex);  }  if (!canQuitApplication())  {    return false;  }    // shut down cross-domain mapping (really reverts preference values)  if (typeof crossDomain != "undefined")    crossDomain.disable();  const kAppStartup = '@mozilla.org/toolkit/app-startup;1';  const kAppShell   = '@mozilla.org/appshell/appShellService;1';  var   appService;  var   forceQuit;  if (kAppStartup in Components.classes)  {    appService = Components.classes[kAppStartup].      getService(Components.interfaces.nsIAppStartup);    forceQuit  = Components.interfaces.nsIAppStartup.eForceQuit;  }  else if (kAppShell in Components.classes)  {    appService = Components.classes[kAppShell].      getService(Components.interfaces.nsIAppShellService);    forceQuit = Components.interfaces.nsIAppShellService.eForceQuit;  }  else  {    throw 'goQuitApplication: no AppStartup/appShell';  }  try  {    appService.quit(forceQuit);  }  catch(ex)  {    throw('goQuitApplication: ' + ex);  }  return true;}
5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5872/4cb0a0d6d0e22779213cbaaba92accb0fad3ed09/quit.js/clean/testing/mochitest/tests/SimpleTest/quit.js