[Jslib] Re: file io lib broken

pete collins petejc@mozdev.org
Wed, 03 Apr 2002 07:41:44 -0500


Mike Lee wrote:
> It seems that the file.js is broken in the latestest nightlies. 
> (2002040103) Is there a interface change recently? Or a regression in 
> the nightlies.


This error looks like an api change on nsIFileTransportService.

Should be an easy fix. I'll look into it.


--pete

> 
> -----======[ ERROR ]=====-----
> ERROR: in file.js:open  open(w) (unable to get transport)
> Name:              NS_ERROR_XPC_NOT_ENOUGH_ARGS
> Message:           Not enough arguments 
> [nsIFileTransportService.createTransport
> ]
> Result:            0x80570001
> Location:          JS frame :: chrome://jslib/content/io/file.js :: 
> anonymous ::
>  line 296
> NS_ERROR_NUMBER:   NS_ERROR_FAILURE
> ------------------------------
> 
> 
> -----======[ ERROR ]=====-----
> ERROR: in file.js:write  write (nsIOutputStream write/flush)
> Name:              TypeError
> Message:           this.mOutStream has no properties
> Result:
> Location:
> NS_ERROR_NUMBER:   NS_ERROR_UNEXPECTED
> ------------------------------
>