Commit 88f8a5fc authored by Alberto Garcia's avatar Alberto Garcia
Browse files

New upstream version 2.21.92

parent dfc60f47
......@@ -94,6 +94,30 @@
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="JSCContext.html#jsc-context-throw-printf" title="jsc_context_throw_printf ()">jsc_context_throw_printf</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="JSCContext.html#jsc-context-throw-with-name" title="jsc_context_throw_with_name ()">jsc_context_throw_with_name</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="JSCContext.html#jsc-context-throw-with-name-printf" title="jsc_context_throw_with_name_printf ()">jsc_context_throw_with_name_printf</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="JSCContext.html#jsc-context-throw-exception" title="jsc_context_throw_exception ()">jsc_context_throw_exception</a> <span class="c_punctuation">()</span>
</td>
</tr>
......@@ -420,6 +444,126 @@ can be retrieved with <a class="link" href="JSCContext.html#jsc-context-get-exce
</div>
<hr>
<div class="refsect2">
<a name="jsc-context-throw-printf"></a><h3>jsc_context_throw_printf ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
jsc_context_throw_printf (<em class="parameter"><code><a class="link" href="JSCContext.html" title="JSCContext"><span class="type">JSCContext</span></a> *context</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *format</code></em>,
<em class="parameter"><code>...</code></em>);</pre>
<p>Throw an exception to <em class="parameter"><code>context</code></em>
using the given formatted string as error message.
The created <a class="link" href="JSCException.html" title="JSCException"><span class="type">JSCException</span></a> can be retrieved with <a class="link" href="JSCContext.html#jsc-context-get-exception" title="jsc_context_get_exception ()"><code class="function">jsc_context_get_exception()</code></a>.</p>
<div class="refsect3">
<a name="jsc-context-throw-printf.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>context</p></td>
<td class="parameter_description"><p>a <a class="link" href="JSCContext.html" title="JSCContext"><span class="type">JSCContext</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>format</p></td>
<td class="parameter_description"><p>the string format</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>...</p></td>
<td class="parameter_description"><p>the parameters to insert into the format string</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="jsc-context-throw-with-name"></a><h3>jsc_context_throw_with_name ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
jsc_context_throw_with_name (<em class="parameter"><code><a class="link" href="JSCContext.html" title="JSCContext"><span class="type">JSCContext</span></a> *context</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *error_name</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *error_message</code></em>);</pre>
<p>Throw an exception to <em class="parameter"><code>context</code></em>
using the given error name and message. The created <a class="link" href="JSCException.html" title="JSCException"><span class="type">JSCException</span></a>
can be retrieved with <a class="link" href="JSCContext.html#jsc-context-get-exception" title="jsc_context_get_exception ()"><code class="function">jsc_context_get_exception()</code></a>.</p>
<div class="refsect3">
<a name="jsc-context-throw-with-name.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>context</p></td>
<td class="parameter_description"><p>a <a class="link" href="JSCContext.html" title="JSCContext"><span class="type">JSCContext</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>error_name</p></td>
<td class="parameter_description"><p>the error name</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>error_message</p></td>
<td class="parameter_description"><p>an error message</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="jsc-context-throw-with-name-printf"></a><h3>jsc_context_throw_with_name_printf ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
jsc_context_throw_with_name_printf (<em class="parameter"><code><a class="link" href="JSCContext.html" title="JSCContext"><span class="type">JSCContext</span></a> *context</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *error_name</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *format</code></em>,
<em class="parameter"><code>...</code></em>);</pre>
<p>Throw an exception to <em class="parameter"><code>context</code></em>
using the given error name and the formatted string as error message.
The created <a class="link" href="JSCException.html" title="JSCException"><span class="type">JSCException</span></a> can be retrieved with <a class="link" href="JSCContext.html#jsc-context-get-exception" title="jsc_context_get_exception ()"><code class="function">jsc_context_get_exception()</code></a>.</p>
<div class="refsect3">
<a name="jsc-context-throw-with-name-printf.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>context</p></td>
<td class="parameter_description"><p>a <a class="link" href="JSCContext.html" title="JSCContext"><span class="type">JSCContext</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>error_name</p></td>
<td class="parameter_description"><p>the error name</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>format</p></td>
<td class="parameter_description"><p>the string format</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>...</p></td>
<td class="parameter_description"><p>the parameters to insert into the format string</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="jsc-context-throw-exception"></a><h3>jsc_context_throw_exception ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
jsc_context_throw_exception (<em class="parameter"><code><a class="link" href="JSCContext.html" title="JSCContext"><span class="type">JSCContext</span></a> *context</code></em>,
......
......@@ -14,7 +14,7 @@
<div class="titlepage">
<div>
<div><table class="navigation" id="top" width="100%" cellpadding="2" cellspacing="0"><tr><th valign="middle"><p class="title">JavaScriptCore GLib Reference Manual</p></th></tr></table></div>
<div><p class="releaseinfo">for JavaScriptCore 2.21.91</p></div>
<div><p class="releaseinfo">for JavaScriptCore 2.21.92</p></div>
</div>
<hr>
</div>
......
......@@ -175,7 +175,7 @@ have included when compiling your code.</p>
<hr>
<div class="refsect2">
<a name="JSC-MICRO-VERSION:CAPS"></a><h3>JSC_MICRO_VERSION</h3>
<pre class="programlisting">#define JSC_MICRO_VERSION (91)
<pre class="programlisting">#define JSC_MICRO_VERSION (92)
</pre>
</div>
</div>
......
......@@ -22,6 +22,9 @@
<keyword type="function" name="jsc_context_get_virtual_machine ()" link="JSCContext.html#jsc-context-get-virtual-machine"/>
<keyword type="function" name="jsc_context_get_exception ()" link="JSCContext.html#jsc-context-get-exception"/>
<keyword type="function" name="jsc_context_throw ()" link="JSCContext.html#jsc-context-throw"/>
<keyword type="function" name="jsc_context_throw_printf ()" link="JSCContext.html#jsc-context-throw-printf"/>
<keyword type="function" name="jsc_context_throw_with_name ()" link="JSCContext.html#jsc-context-throw-with-name"/>
<keyword type="function" name="jsc_context_throw_with_name_printf ()" link="JSCContext.html#jsc-context-throw-with-name-printf"/>
<keyword type="function" name="jsc_context_throw_exception ()" link="JSCContext.html#jsc-context-throw-exception"/>
<keyword type="function" name="jsc_context_clear_exception ()" link="JSCContext.html#jsc-context-clear-exception"/>
<keyword type="function" name="jsc_context_push_exception_handler ()" link="JSCContext.html#jsc-context-push-exception-handler"/>
......@@ -92,9 +95,19 @@
<keyword type="property" name="The “value” property" link="JSCWeakValue.html#JSCWeakValue--value"/>
<keyword type="signal" name="The “cleared” signal" link="JSCWeakValue.html#JSCWeakValue-cleared"/>
<keyword type="function" name="jsc_exception_new ()" link="JSCException.html#jsc-exception-new"/>
<keyword type="function" name="jsc_exception_new_printf ()" link="JSCException.html#jsc-exception-new-printf"/>
<keyword type="function" name="jsc_exception_new_vprintf ()" link="JSCException.html#jsc-exception-new-vprintf"/>
<keyword type="function" name="jsc_exception_new_with_name ()" link="JSCException.html#jsc-exception-new-with-name"/>
<keyword type="function" name="jsc_exception_new_with_name_printf ()" link="JSCException.html#jsc-exception-new-with-name-printf"/>
<keyword type="function" name="jsc_exception_new_with_name_vprintf ()" link="JSCException.html#jsc-exception-new-with-name-vprintf"/>
<keyword type="function" name="jsc_exception_get_name ()" link="JSCException.html#jsc-exception-get-name"/>
<keyword type="function" name="jsc_exception_get_message ()" link="JSCException.html#jsc-exception-get-message"/>
<keyword type="function" name="jsc_exception_get_line_number ()" link="JSCException.html#jsc-exception-get-line-number"/>
<keyword type="function" name="jsc_exception_get_column_number ()" link="JSCException.html#jsc-exception-get-column-number"/>
<keyword type="function" name="jsc_exception_get_source_uri ()" link="JSCException.html#jsc-exception-get-source-uri"/>
<keyword type="function" name="jsc_exception_get_backtrace_string ()" link="JSCException.html#jsc-exception-get-backtrace-string"/>
<keyword type="function" name="jsc_exception_to_string ()" link="JSCException.html#jsc-exception-to-string"/>
<keyword type="function" name="jsc_exception_report ()" link="JSCException.html#jsc-exception-report"/>
<keyword type="struct" name="struct JSCException" link="JSCException.html#JSCException-struct"/>
<keyword type="function" name="JSCClassGetPropertyFunction ()" link="JSCClass.html#JSCClassGetPropertyFunction"/>
<keyword type="function" name="JSCClassSetPropertyFunction ()" link="JSCClass.html#JSCClassSetPropertyFunction"/>
......
......@@ -97,6 +97,22 @@
<a class="link" href="WebKitUserContentManager.html#webkit-user-content-manager-unregister-script-message-handler" title="webkit_user_content_manager_unregister_script_message_handler ()">webkit_user_content_manager_unregister_script_message_handler</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="WebKitUserContentManager.html#webkit-user-content-manager-register-script-message-handler-in-world" title="webkit_user_content_manager_register_script_message_handler_in_world ()">webkit_user_content_manager_register_script_message_handler_in_world</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="WebKitUserContentManager.html#webkit-user-content-manager-unregister-script-message-handler-in-world" title="webkit_user_content_manager_unregister_script_message_handler_in_world ()">webkit_user_content_manager_unregister_script_message_handler_in_world</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
......@@ -348,10 +364,10 @@ webkit_user_content_manager_unregister_script_message_handler
<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>);</pre>
<p>Unregisters a previously registered message handler.</p>
<p>Note that this does *not* disconnect handlers for the
<a class="link" href="WebKitUserContentManager.html#WebKitUserContentManager-script-message-received" title="The “script-message-received” signal"><span class="type">“script-message-received”</span></a> signal,
<a class="link" href="WebKitUserContentManager.html#WebKitUserContentManager-script-message-received" title="The “script-message-received” signal"><span class="type">“script-message-received”</span></a> signal;
they will be kept connected, but the signal will not be emitted
unless the handler name is registered again.</p>
<p>See also <a class="link" href="WebKitUserContentManager.html#webkit-user-content-manager-register-script-message-handler" title="webkit_user_content_manager_register_script_message_handler ()"><code class="function">webkit_user_content_manager_register_script_message_handler()</code></a></p>
<p>See also <a class="link" href="WebKitUserContentManager.html#webkit-user-content-manager-register-script-message-handler" title="webkit_user_content_manager_register_script_message_handler ()"><code class="function">webkit_user_content_manager_register_script_message_handler()</code></a>.</p>
<div class="refsect3">
<a name="webkit-user-content-manager-unregister-script-message-handler.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
......@@ -376,6 +392,96 @@ unless the handler name is registered again.</p>
</div>
<p class="since">Since: <a class="link" href="api-index-2-8.html#api-index-2.8">2.8</a></p>
</div>
<hr>
<div class="refsect2">
<a name="webkit-user-content-manager-register-script-message-handler-in-world"></a><h3>webkit_user_content_manager_register_script_message_handler_in_world ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
webkit_user_content_manager_register_script_message_handler_in_world
(<em class="parameter"><code><a class="link" href="WebKitUserContentManager.html" title="WebKitUserContentManager"><span class="type">WebKitUserContentManager</span></a> *manager</code></em>,
<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *world_name</code></em>);</pre>
<p>Registers a new user script message handler in script world with name <em class="parameter"><code>world_name</code></em>
.
See <a class="link" href="WebKitUserContentManager.html#webkit-user-content-manager-register-script-message-handler" title="webkit_user_content_manager_register_script_message_handler ()"><code class="function">webkit_user_content_manager_register_script_message_handler()</code></a> for full description.</p>
<p>Registering a script message handler will fail if the requested
name has been already registered before.</p>
<div class="refsect3">
<a name="webkit-user-content-manager-register-script-message-handler-in-world.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>manager</p></td>
<td class="parameter_description"><p>A <a class="link" href="WebKitUserContentManager.html" title="WebKitUserContentManager"><span class="type">WebKitUserContentManager</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>name</p></td>
<td class="parameter_description"><p>Name of the script message channel</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>world_name</p></td>
<td class="parameter_description"><p>the name of a <a class="link" href="WebKitScriptWorld.html" title="WebKitScriptWorld"><span class="type">WebKitScriptWorld</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="webkit-user-content-manager-register-script-message-handler-in-world.returns"></a><h4>Returns</h4>
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if message handler was registered successfully, or <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</p>
</div>
<p class="since">Since: <a class="link" href="api-index-2-22.html#api-index-2.22">2.22</a></p>
</div>
<hr>
<div class="refsect2">
<a name="webkit-user-content-manager-unregister-script-message-handler-in-world"></a><h3>webkit_user_content_manager_unregister_script_message_handler_in_world ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
webkit_user_content_manager_unregister_script_message_handler_in_world
(<em class="parameter"><code><a class="link" href="WebKitUserContentManager.html" title="WebKitUserContentManager"><span class="type">WebKitUserContentManager</span></a> *manager</code></em>,
<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *world_name</code></em>);</pre>
<p>Unregisters a previously registered message handler in script world with name <em class="parameter"><code>world_name</code></em>
.</p>
<p>Note that this does *not* disconnect handlers for the
<a class="link" href="WebKitUserContentManager.html#WebKitUserContentManager-script-message-received" title="The “script-message-received” signal"><span class="type">“script-message-received”</span></a> signal;
they will be kept connected, but the signal will not be emitted
unless the handler name is registered again.</p>
<p>See also <a class="link" href="WebKitUserContentManager.html#webkit-user-content-manager-register-script-message-handler-in-world" title="webkit_user_content_manager_register_script_message_handler_in_world ()"><code class="function">webkit_user_content_manager_register_script_message_handler_in_world()</code></a>.</p>
<div class="refsect3">
<a name="webkit-user-content-manager-unregister-script-message-handler-in-world.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>manager</p></td>
<td class="parameter_description"><p>A <a class="link" href="WebKitUserContentManager.html" title="WebKitUserContentManager"><span class="type">WebKitUserContentManager</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>name</p></td>
<td class="parameter_description"><p>Name of the script message channel</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>world_name</p></td>
<td class="parameter_description"><p>the name of a <a class="link" href="WebKitScriptWorld.html" title="WebKitScriptWorld"><span class="type">WebKitScriptWorld</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-2-22.html#api-index-2.22">2.22</a></p>
</div>
</div>
<div class="refsect1">
<a name="WebKitUserContentManager.other_details"></a><h2>Types and Values</h2>
......
......@@ -19,6 +19,8 @@
 <span class="dim">|</span> 
<a class="shortcut" href="#idxS">S</a>
 <span class="dim">|</span> 
<a class="shortcut" href="#idxU">U</a>
 <span class="dim">|</span> 
<a class="shortcut" href="#idxW">W</a></span></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><img src="up-insensitive.png" width="16" height="16" border="0"></td>
......@@ -71,6 +73,23 @@
<a class="link" href="WebKitSettings.html#webkit-settings-set-enable-media-capabilities" title="webkit_settings_set_enable_media_capabilities ()">webkit_settings_set_enable_media_capabilities</a>, function in <a class="link" href="WebKitSettings.html" title="WebKitSettings">WebKitSettings</a>
</dt>
<dd></dd>
<a name="idxU"></a><h3 class="title">U</h3>
<dt>
<a class="link" href="WebKitUserContentManager.html#webkit-user-content-manager-register-script-message-handler-in-world" title="webkit_user_content_manager_register_script_message_handler_in_world ()">webkit_user_content_manager_register_script_message_handler_in_world</a>, function in <a class="link" href="WebKitUserContentManager.html" title="WebKitUserContentManager">WebKitUserContentManager</a>
</dt>
<dd></dd>
<dt>
<a class="link" href="WebKitUserContentManager.html#webkit-user-content-manager-unregister-script-message-handler-in-world" title="webkit_user_content_manager_unregister_script_message_handler_in_world ()">webkit_user_content_manager_unregister_script_message_handler_in_world</a>, function in <a class="link" href="WebKitUserContentManager.html" title="WebKitUserContentManager">WebKitUserContentManager</a>
</dt>
<dd></dd>
<dt>
<a class="link" href="webkit2gtk-4.0-WebKitUserContent.html#webkit-user-script-new-for-world" title="webkit_user_script_new_for_world ()">webkit_user_script_new_for_world</a>, function in <a class="link" href="webkit2gtk-4.0-WebKitUserContent.html" title="User content">WebKitUserContent</a>
</dt>
<dd></dd>
<dt>
<a class="link" href="webkit2gtk-4.0-WebKitUserContent.html#webkit-user-style-sheet-new-for-world" title="webkit_user_style_sheet_new_for_world ()">webkit_user_style_sheet_new_for_world</a>, function in <a class="link" href="webkit2gtk-4.0-WebKitUserContent.html" title="User content">WebKitUserContent</a>
</dt>
<dd></dd>
<a name="idxW"></a><h3 class="title">W</h3>
<dt>
<a class="link" href="WebKitWebView.html#webkit-web-view-run-javascript-in-world" title="webkit_web_view_run_javascript_in_world ()">webkit_web_view_run_javascript_in_world</a>, function in <a class="link" href="WebKitWebView.html" title="WebKitWebView">WebKitWebView</a>
......
......@@ -14,7 +14,7 @@
<div class="titlepage">
<div>
<div><table class="navigation" id="top" width="100%" cellpadding="2" cellspacing="0"><tr><th valign="middle"><p class="title">WebKit2GTK+ Reference Manual</p></th></tr></table></div>
<div><p class="releaseinfo">for WebKit2GTK+ 2.21.91</p></div>
<div><p class="releaseinfo">for WebKit2GTK+ 2.21.92</p></div>
</div>
<hr>
</div>
......
......@@ -66,6 +66,14 @@
</tr>
<tr>
<td class="function_type">
<a class="link" href="webkit2gtk-4.0-WebKitUserContent.html#WebKitUserStyleSheet"><span class="returnvalue">WebKitUserStyleSheet</span></a> *
</td>
<td class="function_name">
<a class="link" href="webkit2gtk-4.0-WebKitUserContent.html#webkit-user-style-sheet-new-for-world" title="webkit_user_style_sheet_new_for_world ()">webkit_user_style_sheet_new_for_world</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="webkit2gtk-4.0-WebKitUserContent.html#WebKitUserScript"><span class="returnvalue">WebKitUserScript</span></a> *
</td>
<td class="function_name">
......@@ -88,6 +96,14 @@
<a class="link" href="webkit2gtk-4.0-WebKitUserContent.html#webkit-user-script-new" title="webkit_user_script_new ()">webkit_user_script_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="webkit2gtk-4.0-WebKitUserContent.html#WebKitUserScript"><span class="returnvalue">WebKitUserScript</span></a> *
</td>
<td class="function_name">
<a class="link" href="webkit2gtk-4.0-WebKitUserContent.html#webkit-user-script-new-for-world" title="webkit_user_script_new_for_world ()">webkit_user_script_new_for_world</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
......@@ -253,6 +269,67 @@ represent zero or more other characters.</p>
</div>
<hr>
<div class="refsect2">
<a name="webkit-user-style-sheet-new-for-world"></a><h3>webkit_user_style_sheet_new_for_world ()</h3>
<pre class="programlisting"><a class="link" href="webkit2gtk-4.0-WebKitUserContent.html#WebKitUserStyleSheet"><span class="returnvalue">WebKitUserStyleSheet</span></a> *
webkit_user_style_sheet_new_for_world (<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *source</code></em>,
<em class="parameter"><code><a class="link" href="webkit2gtk-4.0-WebKitUserContent.html#WebKitUserContentInjectedFrames" title="enum WebKitUserContentInjectedFrames"><span class="type">WebKitUserContentInjectedFrames</span></a> injected_frames</code></em>,
<em class="parameter"><code><a class="link" href="webkit2gtk-4.0-WebKitUserContent.html#WebKitUserStyleLevel" title="enum WebKitUserStyleLevel"><span class="type">WebKitUserStyleLevel</span></a> level</code></em>,
<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *world_name</code></em>,
<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> * const *whitelist</code></em>,
<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> * const *blacklist</code></em>);</pre>
<p>Creates a new user style sheet for script world with name <em class="parameter"><code>world_name</code></em>
.
See <a class="link" href="webkit2gtk-4.0-WebKitUserContent.html#webkit-user-style-sheet-new" title="webkit_user_style_sheet_new ()"><code class="function">webkit_user_style_sheet_new()</code></a> for a full description.</p>
<div class="refsect3">
<a name="webkit-user-style-sheet-new-for-world.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>source</p></td>
<td class="parameter_description"><p>Source code of the user style sheet.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>injected_frames</p></td>
<td class="parameter_description"><p>A <a class="link" href="webkit2gtk-4.0-WebKitUserContent.html#WebKitUserContentInjectedFrames" title="enum WebKitUserContentInjectedFrames"><span class="type">WebKitUserContentInjectedFrames</span></a> value</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>level</p></td>
<td class="parameter_description"><p>A <a class="link" href="webkit2gtk-4.0-WebKitUserContent.html#WebKitUserStyleLevel" title="enum WebKitUserStyleLevel"><span class="type">WebKitUserStyleLevel</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>world_name</p></td>
<td class="parameter_description"><p>the name of a <a class="link" href="WebKitScriptWorld.html" title="WebKitScriptWorld"><span class="type">WebKitScriptWorld</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>whitelist</p></td>
<td class="parameter_description"><p>A whitelist of URI patterns or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> zero-terminated=1][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>blacklist</p></td>
<td class="parameter_description"><p>A blacklist of URI patterns or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> zero-terminated=1][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="webkit-user-style-sheet-new-for-world.returns"></a><h4>Returns</h4>
<p> A new <a class="link" href="webkit2gtk-4.0-WebKitUserContent.html#WebKitUserStyleSheet"><span class="type">WebKitUserStyleSheet</span></a></p>
</div>
<p class="since">Since: <a class="link" href="api-index-2-22.html#api-index-2.22">2.22</a></p>
</div>
<hr>
<div class="refsect2">
<a name="webkit-user-script-ref"></a><h3>webkit_user_script_ref ()</h3>
<pre class="programlisting"><a class="link" href="webkit2gtk-4.0-WebKitUserContent.html#WebKitUserScript"><span class="returnvalue">WebKitUserScript</span></a> *
webkit_user_script_ref (<em class="parameter"><code><a class="link" href="webkit2gtk-4.0-WebKitUserContent.html#WebKitUserScript"><span class="type">WebKitUserScript</span></a> *user_script</code></em>);</pre>
......@@ -368,6 +445,67 @@ represent zero or more other characters.</p>
</div>
<p class="since">Since: <a class="link" href="api-index-2-6.html#api-index-2.6">2.6</a></p>
</div>
<hr>
<div class="refsect2">
<a name="webkit-user-script-new-for-world"></a><h3>webkit_user_script_new_for_world ()</h3>
<pre class="programlisting"><a class="link" href="webkit2gtk-4.0-WebKitUserContent.html#WebKitUserScript"><span class="returnvalue">WebKitUserScript</span></a> *
webkit_user_script_new_for_world (<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *source</code></em>,
<em class="parameter"><code><a class="link" href="webkit2gtk-4.0-WebKitUserContent.html#WebKitUserContentInjectedFrames" title="enum WebKitUserContentInjectedFrames"><span class="type">WebKitUserContentInjectedFrames</span></a> injected_frames</code></em>,
<em class="parameter"><code><a class="link" href="webkit2gtk-4.0-WebKitUserContent.html#WebKitUserScriptInjectionTime" title="enum WebKitUserScriptInjectionTime"><span class="type">WebKitUserScriptInjectionTime</span></a> injection_time</code></em>,
<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *world_name</code></em>,
<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> * const *whitelist</code></em>,
<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> * const *blacklist</code></em>);</pre>
<p>Creates a new user script for script world with name <em class="parameter"><code>world_name</code></em>
.
See <a class="link" href="webkit2gtk-4.0-WebKitUserContent.html#webkit-user-script-new" title="webkit_user_script_new ()"><code class="function">webkit_user_script_new()</code></a> for a full description.</p>
<div class="refsect3">
<a name="webkit-user-script-new-for-world.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>source</p></td>
<td class="parameter_description"><p>Source code of the user script.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>injected_frames</p></td>
<td class="parameter_description"><p>A <a class="link" href="webkit2gtk-4.0-WebKitUserContent.html#WebKitUserContentInjectedFrames" title="enum WebKitUserContentInjectedFrames"><span class="type">WebKitUserContentInjectedFrames</span></a> value</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>injection_time</p></td>
<td class="parameter_description"><p>A <a class="link" href="webkit2gtk-4.0-WebKitUserContent.html#WebKitUserScriptInjectionTime" title="enum WebKitUserScriptInjectionTime"><span class="type">WebKitUserScriptInjectionTime</span></a> value</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>world_name</p></td>
<td class="parameter_description"><p>the name of a <a class="link" href="WebKitScriptWorld.html" title="WebKitScriptWorld"><span class="type">WebKitScriptWorld</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>whitelist</p></td>
<td class="parameter_description"><p>A whitelist of URI patterns or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> zero-terminated=1][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>blacklist</p></td>
<td class="parameter_description"><p>A blacklist of URI patterns or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> zero-terminated=1][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="webkit-user-script-new-for-world.returns"></a><h4>Returns</h4>
<p> A new <a class="link" href="webkit2gtk-4.0-WebKitUserContent.html#WebKitUserScript"><span class="type">WebKitUserScript</span></a></p>
</div>
<p class="since">Since: <a class="link" href="api-index-2-22.html#api-index-2.22">2.22</a></p>
</div>
</div>
<div class="refsect1">
<a name="webkit2gtk-4.0-WebKitUserContent.other_details"></a><h2>Types and Values</h2>
......
......@@ -213,7 +213,7 @@ against at application run time.</p>
<hr>
<