B2G/gecko/browser/components/sessionstore/test/head.js
// because apparently it's buggy. See bug 599253.
because apparently it's buggy.
because apparently it ' s buggy .
function closeAllButPrimaryWindow() {
  for (let win in BrowserWindowIterator()) {
    if (win != window) {
      win.close();
    }
  }
}
function closeAllButPrimaryWindow ( ) { for ( let win in BrowserWindowIterator ( ) ) { if ( win != window ) { win . close ( ) ; } } }
because apparently it's buggy.
because apparently it ' s buggy .