Bug 690319 - Random orange: TEST-UNEXPECTED-FAIL | test-summarization.js | test_summarization_thread_detection (preceded by something like "Thought we would find row 0 at 92,-9 but we found -1"). r=Standard8.

This commit is contained in:
Mike Conley 2011-10-04 09:53:07 -04:00
Родитель e66a40108d
Коммит 40517194f0
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -1044,6 +1044,8 @@ function select_shift_click_row(aViewIndex, aController, aDoNotRequireLoad) {
* Helper function to click on a row with a given button.
*/
function _row_click_helper(aController, aTree, aViewIndex, aButton, aExtra) {
// Force-focus the tree
aTree.focus();
let treeBox = aTree.treeBoxObject;
// very important, gotta be able to see the row
treeBox.ensureRowIsVisible(aViewIndex);