rem: client.sound.play (uri); } catch (ex) { 
add: 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) { 
context: function playSound (file){    if (!client.sound || !file)        return;        if (file == "beep")    {        client.sound.beep();    }    else    {        var uri = Components.classes["@mozilla.org/network/standard-url;1"];        uri = uri.createInstance(Components.interfaces.nsIURI);        uri.spec = file;        try        {            client.sound.play (uri);        } catch (ex) {            // ignore exceptions from this pile of code.        }    }}
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/832293b735b8595f12ec6dffa9852f519d12e360/static.js/clean/extensions/irc/xul/content/static.js