rem: response.append(getMsg(MSN_JSDURL_ERRPAGE, [url, MSG_ERR_JSDURL_PARSE])); 
add: response.append(getMsg(MSN_JSDURL_ERRPAGE, [safeHTML(url), MSG_ERR_JSDURL_PARSE])); 
context: function asyncOpenJSDURL (channel, streamListener, context){        function onTemplateLoaded (name, status)    {        if (status != Components.results.NS_OK)        {            response.start();            response.append(getMsg(MSN_JSDURL_ERRPAGE,                                   [url,                                    getMsg(MSN_ERR_JSDURL_TEMPLATE, name)]));            response.end();        }        else        {            tryService();        }    };        function tryService ()    {        var serviceObject = console.services[service];        if ("requiredTemplates" in serviceObject)        {            for (var i = 0; i < serviceObject.requiredTemplates.length; ++i)            {                var def = serviceObject.requiredTemplates[i];                if (!(def[0] in console.serviceTemplates))                {                    console.loadServiceTemplate (def[0], def[1],                                                 onTemplateLoaded);                    return;                }            }                        }        console.services[service](response, parseResult);    };    var url = channel.URI.spec;    var response = new JSDResponse (channel, streamListener, context);    var parseResult = parseJSDURL (url);    if (!parseResult)    {        response.start();        response.append(getMsg(MSN_JSDURL_ERRPAGE, [url, MSG_ERR_JSDURL_PARSE]));        response.end();        return;    }    var service = parseResult.service.toLowerCase();    if (!(service in console.services))        service = "unknown";    tryService();}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/e127d6bd352ccc6ff6dc580793875826a8529bb6/venkman-jsdurl.js/buggy/extensions/venkman/resources/content/venkman-jsdurl.js