rem:     if("setCursor" in window) { if(enable == true) { window.setCursor("wait"); debug("Directory: cursor=busy\n"); } else { window.setCursor("auto"); debug("Directory: cursor=notbusy\n"); } 
add:     if("setCursor" in window) { if(enable == true) { window.setCursor("wait"); debug("Directory: cursor=busy\n"); } else { window.setCursor("auto"); debug("Directory: cursor=notbusy\n"); 
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/d38a0937d9c93a0a9d913e2ac781e4328bb8cc73/directory.js/buggy/xpfe/components/directory/directory.js