third_party/js/mozmill/shared-modules/dom-utils.js
function DOMWalker_modalWindowHelper(controller) {
    let domWalker = new DOMWalker(controller,
                                  persisted.modalInfos.callbackFilter,
                                  persisted.modalInfos.callbackNodeTest,
                                  persisted.modalInfos.callbackResults);
    domWalker.walk(persisted.modalInfos.ids,
                   controller.window.document.documentElement,
                   persisted.modalInfos.waitFunction);

    delete persisted.modalInfos;

    controller.window.close();
  }
function DOMWalker_modalWindowHelper(controller) {
    let domWalker = new DOMWalker(controller,
                                  persisted.modalInfos.callbackFilter,
                                  persisted.modalInfos.callbackNodeTest,
                                  persisted.modalInfos.callbackResults);
    domWalker.walk(persisted.modalInfos.ids,
                   controller.window.document.documentElement,
                   persisted.modalInfos.waitFunction);

    delete persisted.modalInfos;

    controller.window.close();
  }
function DOMWalker_modalWindowHelper ( controller ) { let domWalker = new DOMWalker ( controller , persisted . modalInfos . callbackFilter , persisted . modalInfos . callbackNodeTest , persisted . modalInfos . callbackResults ) ; domWalker . walk ( persisted . modalInfos . ids , controller . window . document . documentElement , persisted . modalInfos . waitFunction ) ; delete persisted . modalInfos ; controller . window . close ( ) ; }
Callback function to handle new windows

@param {MozMillController} controller
MozMill controller of the new window to operate on.
Callback function to handle new windows