rem: var numFrames = window.frames.length; for(var i = 0; i < numFrames; i++) { SetBusyCursor(window.frames[i], enable); } 
add: var numFrames = window.frames.length; for (var i = 0; i < numFrames; i++) SetBusyCursor(window.frames[i], enable); 
context: SetBusyCursor(window, enable){    // Defensive check: setCursor() is only available for    // chrome windows. Since one of our frame might be a    // non-chrome window, make sure the window we treat has    // a setCursor method.    if("setCursor" in window)    {        if(enable == true)        {            window.setCursor("wait");            debug("Directory: cursor=busy\n");        }        else        {            window.setCursor("auto");            debug("Directory: cursor=notbusy\n");        }    }    var numFrames = window.frames.length;    for(var i = 0; i < numFrames; i++)    {        SetBusyCursor(window.frames[i], enable);    }}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/e0d74dbab0591d49321454ee7cde5f57910c4047/directory.js/buggy/suite/common/directory/directory.js