B2G/gecko/toolkit/devtools/debugger/server/dbg-browser-actors.js
/**
   * Prepare to enter a nested event loop by disabling debuggee events.
   */
Prepare to enter a nested event loop by disabling debuggee events.
Prepare to enter a nested event loop by disabling debuggee events .
function BTA_preNest() {
    if (!this.browser) {
      return;
    }
    let windowUtils = this.browser.contentWindow
                          .QueryInterface(Ci.nsIInterfaceRequestor)
                          .getInterface(Ci.nsIDOMWindowUtils);
    windowUtils.suppressEventHandling(true);
    windowUtils.suspendTimeouts();
  }
function BTA_preNest ( ) { if ( ! this . browser ) { return ; } let windowUtils = this . browser . contentWindow . QueryInterface ( Ci . nsIInterfaceRequestor ) . getInterface ( Ci . nsIDOMWindowUtils ) ; windowUtils . suppressEventHandling ( true ) ; windowUtils . suspendTimeouts ( ) ; }
Prepare to enter a nested event loop by disabling debuggee events.
Prepare to enter a nested event loop by disabling debuggee events .
// The tab is already closed.