[webkit-gtk] TLS Errors API

Brian Holt brian.holt at samsung.com
Thu Sep 26 08:59:16 PDT 2013

Hi WebKitGtk+,

I'm working on the TLS Errors API to provide the user with a WebKitTLSPermissionRequest object if they connect to the permission-request signal and a page load fails with TLS errors. See https://bugs.webkit.org/show_bug.cgi?id=120160.

I am proposing a new class called WebKitTLSPermissionRequest, that will inherit from WebKitPermissionRequest with its _allow() and _deny() API that will additionally provide the user with functions to find out more about the request, such as

WEBKIT_API GTlsCertificate*
webkit_tls_permission_request_get_certificate       (WebKitTLSPermissionRequest *request);

WEBKIT_API GTlsCertificateFlags
webkit_tls_permission_request_get_certificate_flags (WebKitTLSPermissionRequest *request);

webkit_tls_permission_request_get_error             (WebKitTLSPermissionRequest *request);

WEBKIT_API const gchar *
webkit_tls_permission_request_get_failing_uri       (WebKitTLSPermissionRequest *request);

Comments and feedback welcome.


Brian Holt
Senior Software Engineer

Samsung Electronics (UK) Limited
Registered number:  03086621
Registered address: Samsung House, 1000 Hillswood Drive, Chertsey,
                    Surrey KT16 0PS, England

South Street        Email:  brian.holt at samsung.com<mailto:brian.holt at samsung.com>
Staines             Fax:    +44 (0)1784 428620
MIDDLESEX           Office: +44 (0)1784 428600 (ext 380)
TW18 4QE

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-gtk/attachments/20130926/11f2d4c3/attachment.html>

More information about the webkit-gtk mailing list