Re: SSL and XUL iframe
"rvj" <[email protected]> Mon, 15 Sep 2014 10:48:24 +0100
| Newsgroups | gmane.comp.mozilla.devel.xpfe |
|---|---|
| Message-ID | <[email protected]> |
.. it looks like I've got to get down and dirty ! .. oh well many thanks for advice Roger "Neil" <[email protected]> wrote in message news:[email protected]... > rvj wrote: > >> What I would like to do is trap load time SSL errors >> >> For example I have set up a self signed website which does not load... >> >> .. but these errors are only reported via the error console >> >> I would at least like to trap such messages using js but how do I trap >> them? >> >> Is there a special event handler for SSL so I dont need to view the >> error console..? > > Not as such, you have to watch for the state change web progress > notifications, and when you get a document stop with an error status in > the security module you have to use the NSS errors service to translate > that into an error class to see if the error was due to an invalid > certificate. > > -- > Warning: May contain traces of nuts. --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com