Ben Hutchings wrote:
There's not much scope for error reporting there, adnd indeed the
implementation appears to ignore the result of LoadURI.

I don't think LoadURI would return a failure result in that case. Docshell handles those errors itself, and shows an error page or dialog if the load fails.

I don't think you'd get progress notifications for a connection refused for HTTP either.

I'm not really sure that this design is so great... I'd kinda prefer it if docshell could notify a registered error handler of such events, which could either handle stuff itself or tell docshell to show a dialog/error page.
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to