rem: if (!nicknameAry) 
add: if (!tree || !tree.view || !tree.view.selection || !nicknameAry) 
context: function setSelectedNicknames(tree, nicknameAry){    if (!nicknameAry)        return;    var item, unicodeName, resultAry = [];    // Clear selection:    tree.view.selection.select(-1);    // Loop through the tree to (re-)select nicknames    for (var i = 0; i < tree.view.rowCount; i++)    {        item = tree.contentView.getItemAtIndex(i).firstChild.firstChild;        unicodeName = item.getAttribute("unicodeName");        if ((unicodeName != "") && arrayContains(nicknameAry, unicodeName))        {            tree.view.selection.toggleSelect(i);            resultAry.push(unicodeName);        }    }    // Make sure we pass back a correct array:    nicknameAry.length = 0;    for (var j = 0; j < resultAry.length; j++)        nicknameAry.push(resultAry[j]);}
meta: 1567	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1567/ee7853a644983d83a4b964df463310ccb6d96fc8/static.js/clean/xul/content/static.js