Me again.
For some reason (js security?) no arguments are working and only the generic
error message is being displayed with my about:neterror?e=... method.
In regard to Boris' suggested method:
I'm guessing that to throw from asyncOpen or call OnStopRequest, that I have to
create a nsIStreamListener listener object and pass it to asyncOpen.
The thing is that I don't have a channel. I mean that under certain
circumstances when a particular file is determined not exist, I have no URI to
pass to create newChannel.
If i'm wrong would u be able to provide a quick sample.
Thanks heaps,
James
Boris Zbarsky wrote:
>Throwing from asyncOpen should work, as should calling OnStopRequest
with the
correct error code.
----------------------------------------------
James Newell
[EMAIL PROTECTED]
---------------------------------
On Yahoo!7
Messenger: Make free PC-to-PC calls to your friends overseas.
_______________________________________________
dev-tech-xpcom mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-xpcom