function appendProcessAboutCompartmentsElements(aP, aProcess, aCompartments, aGhostWindows)
{
  appendElementWithText(aP, "h1", "", aProcess + " Process\n\n");

  let userCompartments = {};
  let systemCompartments = {};
  for (let name in aCompartments) {
    let c = aCompartments[name];
    if (c._isSystemCompartment) {
      systemCompartments[name] = c;
    }
    else {
      userCompartments[name] = c;
    }
  }
  
  appendProcessAboutCompartmentsElementsHelper(aP, userCompartments, "User Compartments");
  appendProcessAboutCompartmentsElementsHelper(aP, systemCompartments, "System Compartments");
  appendProcessAboutCompartmentsElementsHelper(aP, aGhostWindows, "Ghost Windows");
}
/**
 * Appends the elements for a single process.
 *
 * @param aP
 *        The parent DOM node.
 * @param aProcess
 *        The name of the process.
 * @param aCompartments
 *        Table of Compartments for this process, indexed by _unsafeName.
 * @param aGhostWindows
 *        Array of window URLs of ghost windows.
 */
Appends the elements for a single process.
@param aP
The parent DOM node.
@param aProcess
The name of the process.
@param aCompartments
Table of Compartments for this process, indexed by _unsafeName.
@param aGhostWindows
Array of window URLs of ghost windows.
Appends the elements for a single process . @param aP The parent DOM node . @param aProcess The name of the process . @param aCompartments Table of Compartments for this process indexed by _unsafeName . @param aGhostWindows Array of window URLs of ghost windows .
function appendProcessAboutCompartmentsElements(aP, aProcess, aCompartments, aGhostWindows)
{
  appendElementWithText(aP, "h1", "", aProcess + " Process\n\n");
  let userCompartments = {};
  let systemCompartments = {};
  for (let name in aCompartments) {
    let c = aCompartments[name];
    if (c._isSystemCompartment) {
      systemCompartments[name] = c;
    }
    else {
      userCompartments[name] = c;
    }
  }
  appendProcessAboutCompartmentsElementsHelper(aP, userCompartments, "User Compartments");
  appendProcessAboutCompartmentsElementsHelper(aP, systemCompartments, "System Compartments");
  appendProcessAboutCompartmentsElementsHelper(aP, aGhostWindows, "Ghost Windows");
}
function appendProcessAboutCompartmentsElements ( aP , aProcess , aCompartments , aGhostWindows ) { appendElementWithText ( aP , "h1" , "" , aProcess + " Process\n\n" ) ; let userCompartments = { } ; let systemCompartments = { } ; for ( let name in aCompartments ) { let c = aCompartments [ name ] ; if ( c . _isSystemCompartment ) { systemCompartments [ name ] = c ; } else { userCompartments [ name ] = c ; } } appendProcessAboutCompartmentsElementsHelper ( aP , userCompartments , "User Compartments" ) ; appendProcessAboutCompartmentsElementsHelper ( aP , systemCompartments , "System Compartments" ) ; appendProcessAboutCompartmentsElementsHelper ( aP , aGhostWindows , "Ghost Windows" ) ; }
Appends the elements for a single process.
Appends the elements for a single process .