rem: if (this.isClosed) 
add: if ("isClosed" in this && this.isClosed) 
context: function sp_datawrite (request, ctxt, ostream, offset, count){    //dd ("StreamProvider.prototype.onDataWritable");     if (this.isClosed)        throw Components.results.NS_BASE_STREAM_CLOSED;        if (!this.pendingData)    {        this.isBlocked = true;        /* this is here to support pre-XPCDOM builds (0.9.0 era), which         * don't have this result code mapped. */        if (!Components.results.NS_BASE_STREAM_WOULD_BLOCK)            throw 2152136711;                throw Components.results.NS_BASE_STREAM_WOULD_BLOCK;    }        var len = ostream.write (this.pendingData, this.pendingData.length);    this.pendingData = this.pendingData.substr (len);}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/7488e28c59de8516f57a041d197a80a62240072b/connection-xpcom.js/buggy/extensions/irc/js/lib/connection-xpcom.js