add:  /* 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; };  
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;    return findData;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/f9ee7bccca12bdd2b0ccb7b5b18237474c1334a4/static.js/buggy/extensions/irc/xul/content/static.js