Christian Biesinger <[EMAIL PROTECTED]> wrote: > 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 suppose not. > I'm not really sure that this design is so great... It's really awful for embedding. An important notification is just missing! > 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. Yes. In fact the use of pop-up error messages and prompts is sub- optimal even for interactive use and particularly poor in a tabbed browser where the error may be related to a tab other than the currently selected one. I suppose I'll have to fudge things in my prompt service. Ben. -- Ben Hutchings Tomorrow will be cancelled due to lack of interest. _______________________________________________ dev-embedding mailing list [email protected] https://lists.mozilla.org/listinfo/dev-embedding
