James Newell wrote:
I'm guessing that to throw from asyncOpen
Yes. From your protocol handler's asyncOpen.
The thing is that I don't have a channel.
Thowing from newChannel is also fine.
I mean that under certain circumstances when a particular file is determined
not exist, I have no URI to pass to create newChannel.
Throwing from newURI is also possible...
Put another way, you're implementing a protocol handler, right? Gecko is what
calls newURI, newChannel, asyncOpen on your code. What are you returning to
Gecko from those methods?
-Boris
_______________________________________________
dev-tech-xpcom mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-xpcom