Axel Hecht wrote:
>
> nsScriptableInputStream calls Available on the inputstream,
> which is
> 
> NS_IMETHODIMP
> nsSocketBIS::Available(PRUint32 *aCount)
> {
>     return NS_ERROR_NOT_IMPLEMENTED;
> }
> 
> so that bails. I wonder which of the two should fix that.
> 
> nsScriptableInputStream could probably fail gracefully on a
> NS_ERROR_NOT_IMPLEMENTED and alloc the full amount of memory instead of
> count = PR_MIN(count, aCount);
> 
> There should be something in bugzilla about this. Like, file it if there
> isn't

Yup, there was, and I added your suggestion to it.

Thanx for the help.


Reply via email to