rem: alert("End of document reached."); 
add: var bundle = this.mPanel.panelset.stringBundle; var msg = bundle.getString("findNodesDocumentEnd.message"); var title = bundle.getString("findNodesDocumentEnd.title");  var promptService = XPCU.getService(kPromptServiceCID, "nsIPromptService"); promptService.alert(window, title, msg); 
context:   findNext: function()  {    var walker = this.mFindWalker;    var result = null;    if (walker) {      while (walker.currentNode) {        //dump((walker.currentNode ? walker.currentNode.localName : "") + "\n");        if (this[this.mFindFn](walker)) {          result = walker.currentNode;          walker.nextNode();          break;        }        walker.nextNode();      }            if (result) {        this.selectElementInTree(result);        this.mDOMTree.focus();      } else {        alert("End of document reached."); // XXX localize      }    }  },
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/aea57c3ed9a7e2e2498e23222a629291054c4255/dom.js/clean/extensions/inspector/resources/content/viewers/dom/dom.js