rem: dump("XXX outliner selection = " + outlinerSelection + "\n"); dump("XXX current Index = " + currentIndex + "\n");  
context: function GoNextMessage(type, startFromBeginning){  try {    dump("XXX GoNextMessage(" + type + "," + startFromBeginning + ")\n");    var outlinerView = gDBView.QueryInterface(Components.interfaces.nsIOutlinerView);    var outlinerSelection = outlinerView.selection;    var currentIndex = outlinerSelection.currentIndex;    dump("XXX outliner selection = " + outlinerSelection + "\n");    dump("XXX current Index = " + currentIndex + "\n");    var status = gDBView.navigateStatus(type);    dump("XXX status = " + status + "\n");    var resultId = new Object;    var resultIndex = new Object;    var threadIndex = new Object;    gDBView.viewNavigate(type, resultId, resultIndex, threadIndex, true /* wrap */);    dump("XXX resultId = " + resultId.value + "\n");    dump("XXX resultIndex = " + resultIndex.value + "\n");    // only scroll and select if we found something    if ((resultId.value != -1) && (resultIndex.value != -1)) {        outlinerSelection.select(resultIndex.value);        EnsureRowInThreadOutlinerIsVisible(resultIndex.value);         return;    }        CrossFolderNavigation(type, true);  }  catch (ex) {    dump("XXX ex = " + ex + "\n");  }}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/9d95ad85da1f1921f4feb5bb3d86a9a0041fefd3/msgViewNavigation.js/buggy/mailnews/base/resources/content/msgViewNavigation.js