On Mon, Feb 18, 2013 at 7:47 AM, Carlos Garcia Campos
<cgar...@igalia.com> wrote:
> We could add that method to the web view directly
> (webkit_web_view_get_https_status) and document that it should be called
> after the load is committed, or we could emit a signal and pass the
> certificate and tls errors as arguments, but this could be confusing
> because there will be a signal to handle TLS errors in the future. Note
> that this API is to get the TLS information even when there are no
> errors to show information about the certificate.

A method sounds good to me, but a signal wouldn't be so bad either.
One thing to consider is to rename the method to something like
webkit_web_view_get_https_info to avoid confusion with the HTTP
status. This actually confused me a bit (though I'm pre-coffee).

--Martin
_______________________________________________
webkit-gtk mailing list
webkit-gtk@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-gtk

Reply via email to