Throwing the error from the newChannel function works, however it comes
up as a message box regardless of the setting
pref("browser.xul.error_pages.enabled", true); whilst other protocols
adhere to this setting.

Do you know if placing this in one of those methods that you have
previously stipulated make it work?

James.

Boris Zbarsky wrote:
> James Newell wrote:
> > I threw just a string. I'm guessing that i'm supposed to throw some 
> > specific error.
>
> Components.results.NS_ERROR_FILE_NOT_FOUND might also work.
> 
> -Boris

_______________________________________________
dev-tech-xpcom mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-xpcom

Reply via email to