[Jslib] file io lib broken

Mike Lee mike_lee@iprimus.com.au
Wed, 03 Apr 2002 17:19:14 +1000


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.

-----======[ 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
------------------------------

-- 
Mike Lee
Weblog: http://www.exitspace.net/mike