rem: this.setTarget( document.popupNode );  
add: this.setTarget( document.popupNode, document.popupRangeParent, document.popupRangeOffset );  
context:     initMenu : function ( popup ) {        // Save menu.        this.menu = popup;        const xulNS = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";        if ( document.popupNode.namespaceURI == xulNS ) {          this.shouldDisplay = false;          return;        }        // Get contextual info.        this.setTarget( document.popupNode );                this.isTextSelected = this.isTextSelection();        this.initPopupURL();        // Initialize (disable/remove) menu items.        this.initItems();    },
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/f414184f7f19127f7267035a7513d45a73fca735/nsContextMenu.js/buggy/suite/common/nsContextMenu.js