rem: var searchStr = focusedWindow.getSelection(); 
add: var searchStr = focusedWindow.__proto__.getSelection.call(focusedWindow); 
context:     searchSelected : function() {        var focusedWindow = document.commandDispatcher.focusedWindow;        var searchStr = focusedWindow.getSelection();        searchStr = searchStr.toString();        searchStr = searchStr.replace( /^\s+/, "" );        searchStr = searchStr.replace(/(\n|\r|\t)+/g, " ");        searchStr = searchStr.replace(/\s+$/,"");        return searchStr;    },
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/bf6f6dcced5f7b0e453981b1e562ca4ee82442aa/nsContextMenu.js/clean/suite/common/nsContextMenu.js