rem: findData.rootSearchWindow = e.sourceObject.frame.contentWindow; findData.currentSearchWindow = e.sourceObject.frame.contentWindow; 
add: findData.rootSearchWindow = getContentWindow(e.sourceObject.frame); findData.currentSearchWindow = getContentWindow(e.sourceObject.frame); 
context: function getFindData(e){    var findData = new nsFindInstData();    findData.browser = e.sourceObject.frame;    findData.rootSearchWindow = e.sourceObject.frame.contentWindow;    findData.currentSearchWindow = e.sourceObject.frame.contentWindow;    /* Yay, evil hacks! findData.init doesn't care about the findService, it     * gets option settings from webBrowserFind. As we want the wrap option *on*     * when we use /find foo, we set it on the findService there. However,     * restoring the original value afterwards doesn't help, because init() here     * overrides that value. Unless we make .init do something else, of course:     */    findData._init = findData.init;    findData.init =        function init()        {            this._init();            const FINDSVC_ID = "@mozilla.org/find/find_service;1";            var findService = getService(FINDSVC_ID, "nsIFindService");            this.webBrowserFind.wrapFind = findService.wrapFind;        };    return findData;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/9421/5ace3a0e0d89346bdec784efcf7043f1218fbfd2/static.js/buggy/extensions/irc/xul/content/static.js