James Newell wrote:
I am creating a protocol with javascript for my xulrunner app. How do I go about returning a file not found error from my protocol so that it is displayed as a standard message in the browser control (as a alert or page depending on the prefs)? I've tried "moz-neterror:page?e=error&u=url&d=desc" from netError.xhtml but that gives a message saying that the protocol does not exist.
Throwing from asyncOpen should work, as should calling OnStopRequest with the correct error code.
-Boris _______________________________________________ dev-tech-xpcom mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-xpcom
