[Jslib] Re: file urls in File.js

basic _basic@yahoo.com
Tue, 29 Jan 2002 17:25:28 +0800


ahh, cool! I dodn't know that nsURL had a nsIURL interface.

basic

Eric Plaster wrote:
> 
> I already wrote it, and if cvs would come back online :P, I would check 
> it in.  I use nsIURL to convert from a url to a path.  This should give 
> a correct path on all platforms.  And if it doesn't, we could always 
> write our own platform layer ;)
> 
> 
> basic wrote:
> 
>> Pete, I'm not too sure if this should be implemented, there are issues 
>> when it comes to non-unix platforms and what not. file:// uris should 
>> be handled in a uri loader.
>>
>> basic
>>
>>
>