function _isBrowserDoc(aDocAcc) {
    let parent = aDocAcc.parent;
    if (!parent)
      return false;

    let domNode = parent.DOMNode;
    if (!domNode)
      return false;

    const ns = 'http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul';
    return (domNode.localName == 'browser' && domNode.namespaceURI == ns);
  }
/**
   * Check if accessible is a top-level content document (i.e. a child of a XUL
   * browser node).
   * @param {nsIAccessible} aDocAcc the accessible to check.
   * @return {boolean} true if this is a top-level content document.
   */
Check if accessible is a top-level content document .
@param {nsIAccessible} aDocAcc the accessible to check.
@return {boolean} true if this is a top-level content document.
Check if accessible is a top - level content document . @param { nsIAccessible } aDocAcc the accessible to check . @return { boolean } true if this is a top - level content document .
function _isBrowserDoc(aDocAcc) {
    let parent = aDocAcc.parent;
    if (!parent)
      return false;
    let domNode = parent.DOMNode;
    if (!domNode)
      return false;
    const ns = 'http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul';
    return (domNode.localName == 'browser' && domNode.namespaceURI == ns);
  }
function _isBrowserDoc ( aDocAcc ) { let parent = aDocAcc . parent ; if ( ! parent ) return false ; let domNode = parent . DOMNode ; if ( ! domNode ) return false ; const ns = 'http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul' ; return ( domNode . localName == 'browser' && domNode . namespaceURI == ns ) ; }
Check if accessible is a top-level content document (i.e.
Check if accessible is a top - level content document ( i . e .