B2G/gecko/browser/components/places/content/controller.js
/**
   * Determines if the mouse is currently being dragged over a child node of
   * this menu. This is necessary so that the menu doesn't close while the
   * mouse is dragging over one of its submenus
   * @param   node
   *          The container node
   * @returns true if the user is dragging over a node within the hierarchy of
   *          the container, false otherwise.
   */
Determines if the mouse is currently being dragged over a child node of
this menu. This is necessary so that the menu doesn't close while the
mouse is dragging over one of its submenus
@param   node
The container node
@returns true if the user is dragging over a node within the hierarchy of
the container, false otherwise.
Determines if the mouse is currently being dragged over a child node of this menu . This is necessary so that the menu doesn ' t close while the mouse is dragging over one of its submenus @param node The container node @returns true if the user is dragging over a node within the hierarchy of the container false otherwise .
function PCDH_draggingOverChildNode(node) {
    let currentNode = this.currentDropTarget;
    while (currentNode) {
      if (currentNode == node)
        return true;
      currentNode = currentNode.parentNode;
    }
    return false;
  }
function PCDH_draggingOverChildNode ( node ) { let currentNode = this . currentDropTarget ; while ( currentNode ) { if ( currentNode == node ) return true ; currentNode = currentNode . parentNode ; } return false ; }
Determines if the mouse is currently being dragged over a child node of
 this menu.
Determines if the mouse is currently being dragged over a child node of this menu .