rem: return Components.results.NS_BASE_STREAM_CLOSED; 
add: throw Components.results.NS_BASE_STREAM_CLOSED; 
context: function sp_datawrite (request, ctxt, ostream, offset, count){    //dd ("StreamProvider.prototype.onDataWritable");     if (this.isClosed)        return 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: 1567	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1567/050cdabf1fdd264ec70170f737d010f1e60b30e3/connection-xpcom.js/clean/js/lib/connection-xpcom.js