AppleOpenSource/WebKit2-7609.3.5.1.3/UIProcess/API/glib/WebKitSecurityOrigin.cpp
/**
 * webkit_security_origin_new_for_uri:
 * @uri: The URI for the new origin
 *
 * Create a new security origin from the provided URI. Components of
 * @uri other than protocol, host, and port do not affect the created
 * #WebKitSecurityOrigin.
 *
 * Returns: (transfer full): A #WebKitSecurityOrigin.
 *
 * Since: 2.16
 */
@uri: The URI for the new origin

Create a new security origin from the provided URI. Components of
@uri other than protocol, host, and port do not affect the created
#WebKitSecurityOrigin.

(transfer full): A #WebKitSecurityOrigin.


@uri : The URI for the new origin Create a new security origin from the provided URI . Components of @uri other than protocol host and port do not affect the created #WebKitSecurityOrigin . ( transfer full ) : A #WebKitSecurityOrigin .
WebKitSecurityOrigin* webkit_security_origin_new_for_uri(const gchar* uri)
{
    g_return_val_if_fail(uri, nullptr);
    return webkitSecurityOriginCreate(WebCore::SecurityOrigin::create(URL(URL(), String::fromUTF8(uri))));
}
WebKitSecurityOrigin * webkit_security_origin_new_for_uri ( const gchar * uri ) { g_return_val_if_fail ( uri , nullptr ) ; return webkitSecurityOriginCreate ( WebCore :: SecurityOrigin :: create ( URL ( URL ( ) , String :: fromUTF8 ( uri ) ) ) ) ; }
webkit_security_origin_new_for_uri:
 @uri: The URI for the new origin
webkit_security_origin_new_for_uri : @uri : The URI for the new origin