Commit c13e0a15 authored by Emilio Pozuelo Monfort's avatar Emilio Pozuelo Monfort
Browse files

Imported Upstream version 2.3.1

parent 61864d52
This diff is collapsed.
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>WebKitCertificateInfo</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="WebKit2GTK+ Reference Manual">
<link rel="up" href="ch01.html" title="Class Overview">
<link rel="prev" href="WebKitWebViewGroup.html" title="WebKitWebViewGroup">
<link rel="next" href="ch02.html" title="Web Extensions">
<meta name="generator" content="GTK-Doc V1.18.1 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="WebKitWebViewGroup.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">WebKit2GTK+ Reference Manual</th>
<td><a accesskey="n" href="ch02.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#WebKitCertificateInfo.synopsis" class="shortcut">Top</a>
 | 
<a href="#WebKitCertificateInfo.description" class="shortcut">Description</a>
 | 
<a href="#WebKitCertificateInfo.object-hierarchy" class="shortcut">Object Hierarchy</a>
</td></tr>
</table>
<div class="refentry">
<a name="WebKitCertificateInfo"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="WebKitCertificateInfo.top_of_page"></a>WebKitCertificateInfo</span></h2>
<p>WebKitCertificateInfo — Boxed type to encapsulate TLS certificate information</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="WebKitCertificateInfo.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis"> <a class="link" href="WebKitCertificateInfo.html#WebKitCertificateInfo-struct" title="WebKitCertificateInfo">WebKitCertificateInfo</a>;
<a class="link" href="WebKitCertificateInfo.html" title="WebKitCertificateInfo"><span class="returnvalue">WebKitCertificateInfo</span></a> * <a class="link" href="WebKitCertificateInfo.html#webkit-certificate-info-copy" title="webkit_certificate_info_copy ()">webkit_certificate_info_copy</a> (<em class="parameter"><code><a class="link" href="WebKitCertificateInfo.html" title="WebKitCertificateInfo"><span class="type">WebKitCertificateInfo</span></a> *info</code></em>);
<span class="returnvalue">void</span> <a class="link" href="WebKitCertificateInfo.html#webkit-certificate-info-free" title="webkit_certificate_info_free ()">webkit_certificate_info_free</a> (<em class="parameter"><code><a class="link" href="WebKitCertificateInfo.html" title="WebKitCertificateInfo"><span class="type">WebKitCertificateInfo</span></a> *info</code></em>);
<a href="../gio/GTlsCertificate.html"><span class="returnvalue">GTlsCertificate</span></a> * <a class="link" href="WebKitCertificateInfo.html#webkit-certificate-info-get-tls-certificate" title="webkit_certificate_info_get_tls_certificate ()">webkit_certificate_info_get_tls_certificate</a>
(<em class="parameter"><code><a class="link" href="WebKitCertificateInfo.html" title="WebKitCertificateInfo"><span class="type">WebKitCertificateInfo</span></a> *info</code></em>);
<a href="../gio/gio-TLS-Overview.html#GTlsCertificateFlags"><span class="returnvalue">GTlsCertificateFlags</span></a> <a class="link" href="WebKitCertificateInfo.html#webkit-certificate-info-get-tls-errors" title="webkit_certificate_info_get_tls_errors ()">webkit_certificate_info_get_tls_errors</a>
(<em class="parameter"><code><a class="link" href="WebKitCertificateInfo.html" title="WebKitCertificateInfo"><span class="type">WebKitCertificateInfo</span></a> *info</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="WebKitCertificateInfo.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
GBoxed
+----WebKitCertificateInfo
</pre>
</div>
<div class="refsect1">
<a name="WebKitCertificateInfo.description"></a><h2>Description</h2>
<p>
When a client loads a page over HTTPS where there is an underlying TLS error
WebKit will fire a <a class="link" href="WebKitWebView.html#WebKitWebView-load-failed-with-tls-errors" title='The "load-failed-with-tls-errors" signal'><span class="type">"load-failed-with-tls-errors"</span></a> signal with a
<a class="link" href="WebKitCertificateInfo.html" title="WebKitCertificateInfo"><span class="type">WebKitCertificateInfo</span></a> and the host of the failing URI.
</p>
<p>
To handle this signal asynchronously you should make a copy of the
<a class="link" href="WebKitCertificateInfo.html" title="WebKitCertificateInfo"><span class="type">WebKitCertificateInfo</span></a> with <a class="link" href="WebKitCertificateInfo.html#webkit-certificate-info-copy" title="webkit_certificate_info_copy ()"><code class="function">webkit_certificate_info_copy()</code></a>.
</p>
</div>
<div class="refsect1">
<a name="WebKitCertificateInfo.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="WebKitCertificateInfo-struct"></a><h3>WebKitCertificateInfo</h3>
<pre class="programlisting">typedef struct _WebKitCertificateInfo WebKitCertificateInfo;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="webkit-certificate-info-copy"></a><h3>webkit_certificate_info_copy ()</h3>
<pre class="programlisting"><a class="link" href="WebKitCertificateInfo.html" title="WebKitCertificateInfo"><span class="returnvalue">WebKitCertificateInfo</span></a> * webkit_certificate_info_copy (<em class="parameter"><code><a class="link" href="WebKitCertificateInfo.html" title="WebKitCertificateInfo"><span class="type">WebKitCertificateInfo</span></a> *info</code></em>);</pre>
<p>
Make a copy of the <a class="link" href="WebKitCertificateInfo.html" title="WebKitCertificateInfo"><span class="type">WebKitCertificateInfo</span></a>.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
<td>a <a class="link" href="WebKitCertificateInfo.html" title="WebKitCertificateInfo"><span class="type">WebKitCertificateInfo</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A copy of passed in <a class="link" href="WebKitCertificateInfo.html" title="WebKitCertificateInfo"><span class="type">WebKitCertificateInfo</span></a>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.4</p>
</div>
<hr>
<div class="refsect2">
<a name="webkit-certificate-info-free"></a><h3>webkit_certificate_info_free ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> webkit_certificate_info_free (<em class="parameter"><code><a class="link" href="WebKitCertificateInfo.html" title="WebKitCertificateInfo"><span class="type">WebKitCertificateInfo</span></a> *info</code></em>);</pre>
<p>
Free the <a class="link" href="WebKitCertificateInfo.html" title="WebKitCertificateInfo"><span class="type">WebKitCertificateInfo</span></a>.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
<td>a <a class="link" href="WebKitCertificateInfo.html" title="WebKitCertificateInfo"><span class="type">WebKitCertificateInfo</span></a>
</td>
</tr></tbody>
</table></div>
<p class="since">Since 2.4</p>
</div>
<hr>
<div class="refsect2">
<a name="webkit-certificate-info-get-tls-certificate"></a><h3>webkit_certificate_info_get_tls_certificate ()</h3>
<pre class="programlisting"><a href="../gio/GTlsCertificate.html"><span class="returnvalue">GTlsCertificate</span></a> * webkit_certificate_info_get_tls_certificate
(<em class="parameter"><code><a class="link" href="WebKitCertificateInfo.html" title="WebKitCertificateInfo"><span class="type">WebKitCertificateInfo</span></a> *info</code></em>);</pre>
<p>
Get the <a href="../gio/GTlsCertificate.html"><span class="type">GTlsCertificate</span></a> associated with this
<a class="link" href="WebKitCertificateInfo.html" title="WebKitCertificateInfo"><span class="type">WebKitCertificateInfo</span></a>.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
<td>a <a class="link" href="WebKitCertificateInfo.html" title="WebKitCertificateInfo"><span class="type">WebKitCertificateInfo</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The certificate of <em class="parameter"><code>info</code></em>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.4</p>
</div>
<hr>
<div class="refsect2">
<a name="webkit-certificate-info-get-tls-errors"></a><h3>webkit_certificate_info_get_tls_errors ()</h3>
<pre class="programlisting"><a href="../gio/gio-TLS-Overview.html#GTlsCertificateFlags"><span class="returnvalue">GTlsCertificateFlags</span></a> webkit_certificate_info_get_tls_errors
(<em class="parameter"><code><a class="link" href="WebKitCertificateInfo.html" title="WebKitCertificateInfo"><span class="type">WebKitCertificateInfo</span></a> *info</code></em>);</pre>
<p>
Get the <a href="../gio/gio-TLS-Overview.html#GTlsCertificateFlags"><span class="type">GTlsCertificateFlags</span></a> verification status associated with this
<a class="link" href="WebKitCertificateInfo.html" title="WebKitCertificateInfo"><span class="type">WebKitCertificateInfo</span></a>.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
<td>a <a class="link" href="WebKitCertificateInfo.html" title="WebKitCertificateInfo"><span class="type">WebKitCertificateInfo</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The verification status of <em class="parameter"><code>info</code></em>.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.4</p>
</div>
</div>
<div class="refsect1">
<a name="WebKitCertificateInfo.see-also"></a><h2>See Also</h2>
<a class="link" href="WebKitWebView.html" title="WebKitWebView"><span class="type">WebKitWebView</span></a>, <a class="link" href="WebKitWebContext.html" title="WebKitWebContext"><span class="type">WebKitWebContext</span></a>
</div>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.18.1</div>
</body>
</html>
\ No newline at end of file
......@@ -99,6 +99,10 @@ const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gc
<span class="returnvalue">void</span> <a class="link" href="WebKitWebContext.html#webkit-web-context-set-disk-cache-directory" title="webkit_web_context_set_disk_cache_directory ()">webkit_web_context_set_disk_cache_directory</a>
(<em class="parameter"><code><a class="link" href="WebKitWebContext.html" title="WebKitWebContext"><span class="type">WebKitWebContext</span></a> *context</code></em>,
<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *directory</code></em>);
<span class="returnvalue">void</span> <a class="link" href="WebKitWebContext.html#webkit-web-context-allow-tls-certificate-for-host" title="webkit_web_context_allow_tls_certificate_for_host ()">webkit_web_context_allow_tls_certificate_for_host</a>
(<em class="parameter"><code><a class="link" href="WebKitWebContext.html" title="WebKitWebContext"><span class="type">WebKitWebContext</span></a> *context</code></em>,
<em class="parameter"><code><a class="link" href="WebKitCertificateInfo.html" title="WebKitCertificateInfo"><span class="type">WebKitCertificateInfo</span></a> *info</code></em>,
<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *host</code></em>);
<span class="returnvalue">void</span> (<a class="link" href="WebKitWebContext.html#WebKitURISchemeRequestCallback" title="WebKitURISchemeRequestCallback ()">*WebKitURISchemeRequestCallback</a>) (<em class="parameter"><code><a class="link" href="WebKitURISchemeRequest.html" title="WebKitURISchemeRequest"><span class="type">WebKitURISchemeRequest</span></a> *request</code></em>,
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
......@@ -223,7 +227,10 @@ Enum values used to denote the TLS errors policy.
</tr>
<tr>
<td><p><a name="WEBKIT-TLS-ERRORS-POLICY-FAIL:CAPS"></a><span class="term"><code class="literal">WEBKIT_TLS_ERRORS_POLICY_FAIL</code></span></p></td>
<td>TLS errors make the load to finish with an error.
<td>TLS errors will emit
<a class="link" href="WebKitWebView.html#WebKitWebView-load-failed-with-tls-errors" title='The "load-failed-with-tls-errors" signal'><span class="type">"load-failed-with-tls-errors"</span></a> and, if the signal is handled,
finish the load. In case the signal is not handled,
<a class="link" href="WebKitWebView.html#WebKitWebView-load-failed" title='The "load-failed" signal'><span class="type">"load-failed"</span></a> is emitted before the load finishes.
</td>
</tr>
</tbody>
......@@ -944,6 +951,39 @@ it will not have any effect.
</div>
<hr>
<div class="refsect2">
<a name="webkit-web-context-allow-tls-certificate-for-host"></a><h3>webkit_web_context_allow_tls_certificate_for_host ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> webkit_web_context_allow_tls_certificate_for_host
(<em class="parameter"><code><a class="link" href="WebKitWebContext.html" title="WebKitWebContext"><span class="type">WebKitWebContext</span></a> *context</code></em>,
<em class="parameter"><code><a class="link" href="WebKitCertificateInfo.html" title="WebKitCertificateInfo"><span class="type">WebKitCertificateInfo</span></a> *info</code></em>,
<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *host</code></em>);</pre>
<p>
Ignore further TLS errors on the <em class="parameter"><code>host</code></em> for the certificate present in <em class="parameter"><code>info</code></em>.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>context</code></em> :</span></p></td>
<td>a <a class="link" href="WebKitWebContext.html" title="WebKitWebContext"><span class="type">WebKitWebContext</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
<td>a <a class="link" href="WebKitCertificateInfo.html" title="WebKitCertificateInfo"><span class="type">WebKitCertificateInfo</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>host</code></em> :</span></p></td>
<td>the host for which a certificate is to be allowed</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="WebKitURISchemeRequestCallback"></a><h3>WebKitURISchemeRequestCallback ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> (*WebKitURISchemeRequestCallback) (<em class="parameter"><code><a class="link" href="WebKitURISchemeRequest.html" title="WebKitURISchemeRequest"><span class="type">WebKitURISchemeRequest</span></a> *request</code></em>,
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
......
......@@ -44,7 +44,7 @@
<div class="refsynopsisdiv">
<a name="WebKitWebPage.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">struct <a class="link" href="WebKitWebPage.html#WebKitWebPage-struct" title="struct WebKitWebPage">WebKitWebPage</a>;
<span class="returnvalue">WebKitDOMDocument</span> * <a class="link" href="WebKitWebPage.html#webkit-web-page-get-dom-document" title="webkit_web_page_get_dom_document ()">webkit_web_page_get_dom_document</a> (<em class="parameter"><code><a class="link" href="WebKitWebPage.html" title="WebKitWebPage"><span class="type">WebKitWebPage</span></a> *web_page</code></em>);
<a href="../webkitdomgtk/WebKitDOMDocument.html"><span class="returnvalue">WebKitDOMDocument</span></a> * <a class="link" href="WebKitWebPage.html#webkit-web-page-get-dom-document" title="webkit_web_page_get_dom_document ()">webkit_web_page_get_dom_document</a> (<em class="parameter"><code><a class="link" href="WebKitWebPage.html" title="WebKitWebPage"><span class="type">WebKitWebPage</span></a> *web_page</code></em>);
<a href="../glib/glib-Basic-Types.html#guint64"><span class="returnvalue">guint64</span></a> <a class="link" href="WebKitWebPage.html#webkit-web-page-get-id" title="webkit_web_page_get_id ()">webkit_web_page_get_id</a> (<em class="parameter"><code><a class="link" href="WebKitWebPage.html" title="WebKitWebPage"><span class="type">WebKitWebPage</span></a> *web_page</code></em>);
const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="WebKitWebPage.html#webkit-web-page-get-uri" title="webkit_web_page_get_uri ()">webkit_web_page_get_uri</a> (<em class="parameter"><code><a class="link" href="WebKitWebPage.html" title="WebKitWebPage"><span class="type">WebKitWebPage</span></a> *web_page</code></em>);
<a class="link" href="WebKitFrame.html" title="WebKitFrame"><span class="returnvalue">WebKitFrame</span></a> * <a class="link" href="WebKitWebPage.html#webkit-web-page-get-main-frame" title="webkit_web_page_get_main_frame ()">webkit_web_page_get_main_frame</a> (<em class="parameter"><code><a class="link" href="WebKitWebPage.html" title="WebKitWebPage"><span class="type">WebKitWebPage</span></a> *web_page</code></em>);
......@@ -86,9 +86,9 @@ const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gc
<hr>
<div class="refsect2">
<a name="webkit-web-page-get-dom-document"></a><h3>webkit_web_page_get_dom_document ()</h3>
<pre class="programlisting"><span class="returnvalue">WebKitDOMDocument</span> * webkit_web_page_get_dom_document (<em class="parameter"><code><a class="link" href="WebKitWebPage.html" title="WebKitWebPage"><span class="type">WebKitWebPage</span></a> *web_page</code></em>);</pre>
<pre class="programlisting"><a href="../webkitdomgtk/WebKitDOMDocument.html"><span class="returnvalue">WebKitDOMDocument</span></a> * webkit_web_page_get_dom_document (<em class="parameter"><code><a class="link" href="WebKitWebPage.html" title="WebKitWebPage"><span class="type">WebKitWebPage</span></a> *web_page</code></em>);</pre>
<p>
Get the <span class="type">WebKitDOMDocument</span> currently loaded in <em class="parameter"><code>web_page</code></em>
Get the <a href="../webkitdomgtk/WebKitDOMDocument.html"><span class="type">WebKitDOMDocument</span></a> currently loaded in <em class="parameter"><code>web_page</code></em>
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
......@@ -103,7 +103,7 @@ Get the <span class="type">WebKitDOMDocument</span> currently loaded in <em clas
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the <span class="type">WebKitDOMDocument</span> currently loaded, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
<td>the <a href="../webkitdomgtk/WebKitDOMDocument.html"><span class="type">WebKitDOMDocument</span></a> currently loaded, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
if no document is currently loaded.</td>
</tr>
</tbody>
......
......@@ -259,6 +259,7 @@ WebKitWebView implements
"<a class="link" href="WebKitWebView.html#WebKitWebView-leave-fullscreen" title='The "leave-fullscreen" signal'>leave-fullscreen</a>" : <a href="../gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
"<a class="link" href="WebKitWebView.html#WebKitWebView-load-changed" title='The "load-changed" signal'>load-changed</a>" : <a href="../gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
"<a class="link" href="WebKitWebView.html#WebKitWebView-load-failed" title='The "load-failed" signal'>load-failed</a>" : <a href="../gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
"<a class="link" href="WebKitWebView.html#WebKitWebView-load-failed-with-tls-errors" title='The "load-failed-with-tls-errors" signal'>load-failed-with-tls-errors</a>" : <a href="../gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
"<a class="link" href="WebKitWebView.html#WebKitWebView-mouse-target-changed" title='The "mouse-target-changed" signal'>mouse-target-changed</a>" : <a href="../gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
"<a class="link" href="WebKitWebView.html#WebKitWebView-permission-request" title='The "permission-request" signal'>permission-request</a>" : <a href="../gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
"<a class="link" href="WebKitWebView.html#WebKitWebView-print" title='The "print" signal'>print</a>" : <a href="../gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
......@@ -3705,6 +3706,60 @@ You need to handle the signal if you want to provide your own error page.
</div>
<hr>
<div class="refsect2">
<a name="WebKitWebView-load-failed-with-tls-errors"></a><h3>The <code class="literal">"load-failed-with-tls-errors"</code> signal</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> user_function (<a class="link" href="WebKitWebView.html" title="WebKitWebView"><span class="type">WebKitWebView</span></a> *web_view,
<a class="link" href="WebKitCertificateInfo.html" title="WebKitCertificateInfo"><span class="type">WebKitCertificateInfo</span></a> *info,
<a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *host,
<a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="../gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
<p>
Emitted when a TLS error occurs during a load operation. The <em class="parameter"><code>info</code></em>
object contains information about the error such as the <a href="../gio/GTlsCertificate.html"><span class="type">GTlsCertificate</span></a>
and the <a href="../gio/gio-TLS-Overview.html#GTlsCertificateFlags"><span class="type">GTlsCertificateFlags</span></a>. To allow an exception for this certificate
and this host use <a class="link" href="WebKitWebContext.html#webkit-web-context-allow-tls-certificate-for-host" title="webkit_web_context_allow_tls_certificate_for_host ()"><code class="function">webkit_web_context_allow_tls_certificate_for_host()</code></a>.
</p>
<p>
To handle this signal asynchronously you should copy the <a class="link" href="WebKitCertificateInfo.html" title="WebKitCertificateInfo"><span class="type">WebKitCertificateInfo</span></a>
with <a class="link" href="WebKitCertificateInfo.html#webkit-certificate-info-copy" title="webkit_certificate_info_copy ()"><code class="function">webkit_certificate_info_copy()</code></a> and return <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>.
</p>
<p>
If <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> is returned, <a class="link" href="WebKitWebView.html#WebKitWebView-load-failed" title='The "load-failed" signal'><span class="type">"load-failed"</span></a> will be emitted. The load
will finish regardless of the returned value.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>web_view</code></em> :</span></p></td>
<td>the <a class="link" href="WebKitWebView.html" title="WebKitWebView"><span class="type">WebKitWebView</span></a> on which the signal is emitted</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
<td>a <a class="link" href="WebKitCertificateInfo.html" title="WebKitCertificateInfo"><span class="type">WebKitCertificateInfo</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>host</code></em> :</span></p></td>
<td>the host on which the error occurred</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to stop other handlers from being invoked for the event.
<a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> to propagate the event further.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.4</p>
</div>
<hr>
<div class="refsect2">
<a name="WebKitWebView-mouse-target-changed"></a><h3>The <code class="literal">"mouse-target-changed"</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="WebKitWebView.html" title="WebKitWebView"><span class="type">WebKitWebView</span></a> *web_view,
<a class="link" href="WebKitHitTestResult.html" title="WebKitHitTestResult"><span class="type">WebKitHitTestResult</span></a> *hit_test_result,
......
......@@ -7,7 +7,7 @@
<link rel="home" href="index.html" title="WebKit2GTK+ Reference Manual">
<link rel="up" href="ch01.html" title="Class Overview">
<link rel="prev" href="WebKitSecurityManager.html" title="WebKitSecurityManager">
<link rel="next" href="ch02.html" title="Web Extensions">
<link rel="next" href="WebKitCertificateInfo.html" title="WebKitCertificateInfo">
<meta name="generator" content="GTK-Doc V1.18.1 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
......@@ -18,7 +18,7 @@
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">WebKit2GTK+ Reference Manual</th>
<td><a accesskey="n" href="ch02.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
<td><a accesskey="n" href="WebKitCertificateInfo.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#WebKitWebViewGroup.synopsis" class="shortcut">Top</a>
......
......@@ -6,63 +6,66 @@
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="WebKit2GTK+ Reference Manual">
<link rel="up" href="index.html" title="WebKit2GTK+ Reference Manual">
<link rel="prev" href="api-index-2-2.html" title="Index of new symbols in 2.2">
<link rel="prev" href="api-index-2-4.html" title="Index of new symbols in 2.4">
<meta name="generator" content="GTK-Doc V1.18.1 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="api-index-2-2.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="p" href="api-index-2-4.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td> </td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">WebKit2GTK+ Reference Manual</th>
<td> </td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a class="shortcut" href="#glsT">T</a>
<a class="shortcut" href="#glsO">O</a>
 | 
<a class="shortcut" href="#glsO">O</a>
 | 
<a class="shortcut" href="#glsT">T</a>
 | 
<a class="shortcut" href="#glsE">E</a>
<a class="shortcut" href="#glsA">A</a>
 | 
<a class="shortcut" href="#glsS">S</a>
 | 
<a class="shortcut" href="#glsT">T</a>
 | 
<a class="shortcut" href="#glsA">A</a>
 | 
<a class="shortcut" href="#glsT">T</a>
 | 
<a class="shortcut" href="#glsC">C</a>
 | 
<a class="shortcut" href="#glsE">E</a>
</td></tr>
</table>
<div class="glossary">
<div class="titlepage"><div><div><h1 class="title">
<a name="annotation-glossary"></a>Annotation Glossary</h1></div></div></div>
<a name="glsT"></a><h3 class="title">T</h3>
<dt><span class="glossterm"><a name="annotation-glossterm-transfer%20full"></a>transfer full</span></dt>
<dd class="glossdef"><p>Free data after the code is done.</p></dd>
<a name="glsO"></a><h3 class="title">O</h3>
<dt><span class="glossterm"><a name="annotation-glossterm-out"></a>out</span></dt>
<dd class="glossdef"><p>Parameter for returning results. Default is <acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>.</p></dd>
<a name="glsA"></a><h3 class="title">A</h3>
<dt><span class="glossterm"><a name="annotation-glossterm-allow-none"></a>allow-none</span></dt>
<dd class="glossdef"><p>NULL is ok, both for passing and for returning.</p></dd>
<a name="glsS"></a><h3 class="title">S</h3>
<dt><span class="glossterm"><a name="annotation-glossterm-scope%20async"></a>scope async</span></dt>
<dd class="glossdef"><p>The callback is valid until first called.</p></dd>
<a name="glsT"></a><h3 class="title">T</h3>
<dt><span class="glossterm"><a name="annotation-glossterm-transfer%20container"></a>transfer container</span></dt>
<dd class="glossdef"><p>Free data container after the code is done.</p></dd>
<dt><span class="glossterm"><a name="annotation-glossterm-transfer%20none"></a>transfer none</span></dt>
<dd class="glossdef"><p>Don't free data after the code is done.</p></dd>
<a name="glsE"></a><h3 class="title">E</h3>
<dt><span class="glossterm"><a name="annotation-glossterm-element-type"></a>element-type</span></dt>
<dd class="glossdef"><p>Generics and defining elements of containers and arrays.</p></dd>
<a name="glsS"></a><h3 class="title">S</h3>
<dt><span class="glossterm"><a name="annotation-glossterm-scope%20async"></a>scope async</span></dt>
<dd class="glossdef"><p>The callback is valid until first called.</p></dd>
<a name="glsA"></a><h3 class="title">A</h3>
<dt><span class="glossterm"><a name="annotation-glossterm-array"></a>array</span></dt>
<dd class="glossdef"><p>Parameter points to an array of items.</p></dd>
<dt><span class="glossterm"><a name="annotation-glossterm-allow-none"></a>allow-none</span></dt>
<dd class="glossdef"><p>NULL is ok, both for passing and for returning.</p></dd>
<a name="glsT"></a><h3 class="title">T</h3>
<dt><span class="glossterm"><a name="annotation-glossterm-transfer%20full"></a>transfer full</span></dt>
<dd class="glossdef"><p>Free data after the code is done.</p></dd>
<a name="glsC"></a><h3 class="title">C</h3>
<dt><span class="glossterm"><a name="annotation-glossterm-closure"></a>closure</span></dt>
<dd class="glossdef"><p>This parameter is a 'user_data', for callbacks; many bindings can pass NULL here.</p></dd>
<a name="glsE"></a><h3 class="title">E</h3>
<dt><span class="glossterm"><a name="annotation-glossterm-element-type"></a>element-type</span></dt>
<dd class="glossdef"><p>Generics and defining elements of containers and arrays.</p></dd>
</div>
<div class="footer">
<hr>
......
......@@ -7,7 +7,7 @@
<link rel="home" href="index.html" title="WebKit2GTK+ Reference Manual">
<link rel="up" href="index.html" title="WebKit2GTK+ Reference Manual">
<link rel="prev" href="index-all.html" title="Index">
<link rel="next" href="annotation-glossary.html" title="Annotation Glossary">
<link rel="next" href="api-index-2-4.html" title="Index of new symbols in 2.4">
<meta name="generator" content="GTK-Doc V1.18.1 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
......@@ -18,7 +18,7 @@
<td> </td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">WebKit2GTK+ Reference Manual</th>
<td><a accesskey="n" href="annotation-glossary.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
<td><a accesskey="n" href="api-index-2-4.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a class="shortcut" href="#idxA">A</a>
......
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Index of new symbols in 2.4</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="WebKit2GTK+ Reference Manual">
<link rel="up" href="index.html" title="WebKit2GTK+ Reference Manual">
<link rel="prev" href="api-index-2-2.html" title="Index of new symbols in 2.2">
<link rel="next" href="annotation-glossary.html" title="Annotation Glossary">
<meta name="generator" content="GTK-Doc V1.18.1 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="api-index-2-2.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td> </td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">WebKit2GTK+ Reference Manual</th>
<td><a accesskey="n" href="annotation-glossary.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a class="shortcut" href="#idxC">C</a>
 | 
<a class="shortcut" href="#idxW">W</a>
</td></tr>
</table>
<div class="index">
<div class="titlepage"><div><div><h1 class="title">
<a name="api-index-2-4"></a>Index of new symbols in 2.4</h1></div></div></div>
<a name="idx"></a><a name="idxC"></a><h3 class="title">C</h3>
<dt>
<a class="link" href="WebKitCertificateInfo.html#webkit-certificate-info-copy" title="webkit_certificate_info_copy ()">webkit_certificate_info_copy</a>, function in <a class="link" href="WebKitCertificateInfo.html" title="WebKitCertificateInfo">WebKitCertificateInfo</a>
</dt>
<dd></dd>
<dt>
<a class="link" href="WebKitCertificateInfo.html#webkit-certificate-info-free" title="webkit_certificate_info_free ()">webkit_certificate_info_free</a>, function in <a class="link" href="WebKitCertificateInfo.html" title="WebKitCertificateInfo">WebKitCertificateInfo</a>
</dt>
<dd></dd>
<dt>
<a class="link" href="WebKitCertificateInfo.html#webkit-certificate-info-get-tls-certificate" title="webkit_certificate_info_get_tls_certificate ()">webkit_certificate_info_get_tls_certificate</a>, function in <a class="link" href="WebKitCertificateInfo.html" title="WebKitCertificateInfo">WebKitCertificateInfo</a>
</dt>
<dd></dd>
<dt>
<a class="link" href="WebKitCertificateInfo.html#webkit-certificate-info-get-tls-errors" title="webkit_certificate_info_get_tls_errors ()">webkit_certificate_info_get_tls_errors</a>, function in <a class="link" href="WebKitCertificateInfo.html" title="WebKitCertificateInfo">WebKitCertificateInfo</a>
</dt>
<dd></dd>
<a name="idxW"></a><h3 class="title">W</h3>
<dt>
<a class="link" href="WebKitWebView.html#WebKitWebView-load-failed-with-tls-errors" title='The "load-failed-with-tls-errors" signal'>WebKitWebView::load-failed-with-tls-errors</a>, object signal in <a class="link" href="WebKitWebView.html" title="WebKitWebView">WebKitWebView</a>
</dt>
<dd></dd>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.18.1</div>
</body>
</html>
\ No newline at end of file
......@@ -21,7 +21,7 @@
</tr></table>
<div class="chapter">
<div class="titlepage"><div><div><h1 class="title">
<a name="idp63701728"></a>Class Overview</h1></div></div></div>
<a name="idp50537376"></a>Class Overview</h1></div></div></div>
<div class="toc"><dl class="toc">
<dt>
<span class="refentrytitle"><a href="WebKitWebContext.html">WebKitWebContext</a></span><span class="refpurpose">Manages aspects common to all <span class="type">WebKitWebView</span>s</span>
......@@ -119,6 +119,9 @@
<dt>
<span class="refentrytitle"><a href="WebKitWebViewGroup.html">WebKitWebViewGroup</a></span><span class="refpurpose"> — Group of web views</span>
</dt>