rem: if ( !this.onLink ) { this.removeItem( "context-openlink" ); this.removeItem( "context-editlink" ); } else { needSep = true; } 
add: this.showItem( "context-openlink", this.onLink ); this.showItem( "context-editlink", this.onLink ); 
context:     initOpenItems : function () {        var needSep = false;            // Remove open/edit link if not applicable.        if ( !this.onLink ) {            this.removeItem( "context-openlink" );            this.removeItem( "context-editlink" );        } else {            needSep = true;        }            // Remove open frame if not applicable.        if ( !this.inFrame ) {            this.removeItem( "context-openframe" );        } else {            needSep = true;        }            if ( !needSep ) {            // Remove separator after open items.            this.removeItem( "context-sep-open" );        }    },
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/0a83f2dbc3c83d66fb8b11846dbe79f6cbeeeaf7/nsContextMenu.js/buggy/xpfe/browser/resources/content/nsContextMenu.js