rem: try { var data = loadURLNow (url); onComplete (data, url, Components.results.NS_OK); } catch (ex) { dd ("forced to load " + url + " async."); loadURLAsync (url, { onComplete: onComplete }); } 
add: loadURLAsync (url, { onComplete: onComplete }); 
context: function con_loadservicetpl (name, sections, callback){    function onComplete (data, url, status)    {        if (status == Components.results.NS_OK)        {            var tpl = parseSections (data, sections);            for (var p in sections)            {                if (!(p in tpl))                {                    display (getMsg (MSN_ERR_NO_SECTION, [sections[p], url]),                             MT_ERROR);                    callback(name, Components.results.NS_ERROR_FAILURE);                    return;                }            }            console.serviceTemplates[name] = tpl;        }        callback(name, status);    };            if (name in console.serviceTemplates)    {        callback(name, Components.results.NS_OK);        return;    }    var prefName = "services." + name + ".template";    if (!(prefName in console.prefs))    {        display (getMsg (MSN_ERR_NO_TEMPLATE, prefName), MT_ERROR);        callback(name, Components.results.NS_ERROR_FILE_NOT_FOUND);        return;    }        var url = console.prefs[prefName];    try    {        var data = loadURLNow (url);        onComplete (data, url, Components.results.NS_OK);    }    catch (ex)    {        dd ("forced to load " + url + " async.");        loadURLAsync (url, { onComplete: onComplete });    }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/e74c1cc8dd6ff3b442627774f5b622e3ba721dfd/venkman-jsdurl.js/clean/extensions/venkman/resources/content/venkman-jsdurl.js