Thanks guys, I threw just a string. I'm guessing that i'm supposed to throw some specific error. I did try googling a Components.interfaces error to throw for file not found but couldn't find one. Is there a list somewhere? Or what status do I pass onStopRequest?
Yes I was returning a file channel from my protocol, instead of the javascript channel in the example (http://nexgenmedia.net/docs/protocol/) used. I need to view example code or tutorial of a nsIChannel implemented in javascript. I looked at lots of the cpp ones but could not find where they made callbacks to the listener to return data etc. Thanks for all the help, Very appreciated! James ---------------------------------------------- James Newell [EMAIL PROTECTED] --------------------------------- On Yahoo!7 360° new features: Blog polls, visitor stats custom themes and more! _______________________________________________ dev-tech-xpcom mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-xpcom
