B2G/gecko/browser/devtools/debugger/test/browser_dbg_debugger-tab-switch.js
/**
 * Tests that a debugger instance can't be opened in multiple tabs at once,
 * and that on such an attempt a notification is shown, which can either switch
 * to the old debugger instance, or close the old instance to open a new one.
 */
Tests that a debugger instance can't be opened in multiple tabs at once,
and that on such an attempt a notification is shown, which can either switch
to the old debugger instance, or close the old instance to open a new one.
Tests that a debugger instance can ' t be opened in multiple tabs at once and that on such an attempt a notification is shown which can either switch to the old debugger instance or close the old instance to open a new one .
function test() {
  gNbox = gBrowser.getNotificationBox(gBrowser.selectedBrowser);
  testTab1(function() {
    testTab2(function() {
      testTab3(function() {
        testTab4(function() {
          lastTest(function() {
            cleanup(function() {
              finish();
            });
          });
        });
      });
    });
  });
}
function test ( ) { gNbox = gBrowser . getNotificationBox ( gBrowser . selectedBrowser ) ; testTab1 ( function ( ) { testTab2 ( function ( ) { testTab3 ( function ( ) { testTab4 ( function ( ) { lastTest ( function ( ) { cleanup ( function ( ) { finish ( ) ; } ) ; } ) ; } ) ; } ) ; } ) ; } ) ; }
Tests that a debugger instance can't be opened in multiple tabs at once,
 and that on such an attempt a notification is shown, which can either switch
 to the old debugger instance, or close the old instance to open a new one.
Tests that a debugger instance can ' t be opened in multiple tabs at once and that on such an attempt a notification is shown which can either switch to the old debugger instance or close the old instance to open a new one .