rem: var io = Components.classes['@mozilla.org/network/io-service;1']; io = io.createInstance(Components.interfaces.nsIIOService); var uri = io.newURI(file, null, null); 
add: var uri = client.iosvc.newURI(file, null, null); 
context: function playSound(file){    if (!client.sound || !file)        return;        if (file == "beep")    {        client.sound.beep();    }    else    {        try        {            var io = Components.classes['@mozilla.org/network/io-service;1'];            io = io.createInstance(Components.interfaces.nsIIOService);            var uri = io.newURI(file, null, null);            client.sound.play(uri);        }        catch (ex)        {            // ignore exceptions from this pile of code.        }    }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/e11c8cbd6fca8e95318d16f53a60cb8585b78607/static.js/buggy/extensions/irc/xul/content/static.js