    handleDialogCancel : function() {        if (litmus.lastTestRunSummary == "") return;                        // this code is v. similar to readStateFromPref, but without an async call.        $("qa-testrun-label").value = litmus.lastTestRunSummary;        $("qa-testgroup-label").value = litmus.lastTestGroupSummary;        litmus.lastSubgroupObject = litmus.preDialogueSubgroupObject;        litmus.lastTestcaseObject = litmus.preDialogTestcaseObject;                if (litmus.lastSubgroupObject != null)            litmus.populatePreviewBox(litmus.lastSubgroupObject.testcases);        if (litmus.lastTestcaseObject != null) {            litmus.populateTestcase(litmus.lastTestcaseObject);        }        // set the selection without firing an event, which would cause async call        $("testlist").setAttribute("suppressonselect", "true");        $("testlist").selectedIndex = lastTestcaseIndex;        $("testlist").setAttribute("suppressonselect", "false");                // rewrite the prefs        litmus.writeStateToPref(litmus.lastTestRunSummary, litmus.lastTestGroupSummary,                                litmus.lastSubgroupObject.subgroup_id, lastTestcaseIndex);    },
5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5872/666619d967ebe6765fd3acd94be7618e1cf867e0/litmus.js/buggy/testing/extensions/community/chrome/content/litmus.js