Boris Zbarsky <[EMAIL PROTECTED]> wrote:
> Ben Hutchings wrote:
>> If I try to load a file that doesn't exist, Mozilla pops up a prompt
>> to tell the user about this (or not, given that I replaced the prompt
>> service).  However, it doesn't tell my progress listener (at least,
>> not that I can tell through GtkMozEmbed).
>
> In this case, asyncOpen on the channel actually fails (that's a bug
> we're hoping to fix in 1.9), so there's no progress that happens.
>
>> In fact, I don't get *any*
>> progress notifications at all for the file load.  How am I supposed to
>> tell that the load failed?
>
> Well, how is the load starting?  If you started the load, you get back the 
> exception from asyncOpen...

I'm using:

void         gtk_moz_embed_load_url         (GtkMozEmbed *embed, 
                                             const char *url);

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

Maybe I should stop using GtkMozEmbed since I already dig deeply into
the browser starting from the nsIWebBrowser that it gives me.

Ben.

-- 
Ben Hutchings
Hoare's Law of Large Problems:
        Inside every large problem is a small problem struggling to get out.
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to