alan wrote:
Hi,
I'm new to mozilla & am investigating embedding mozilla in a linux
application. I understand how to use the GtkMozEmbed widget & have a minimal
understanding on using the Gecko API.
I'd like to know what are all the errors the gecko engine can enocunter &
how i can handle them in my appllcation, . I see the nsIPromptService
interface allows me to customize the alerts, confirm etc.. boxes.
I haven't yet seen a way to intercept the 400 Bad Request type errors.
Can someone point me to where in could find info on all the errors that may
come up using the gecko engine & how to intercept them if possible?
Thanks
Hi,
400 Bad Request is not a Gecko error but the HTTP response code.
You can use nsIWebProgressListener to grab the response header
and parse for the code yourself.
Steve
_______________________________________________
mozilla-embedding mailing list
[email protected]
http://mail.mozilla.org/listinfo/mozilla-embedding