SecurityOrigin.newForUri

webkit.security_origin.SecurityOrigin newForUri(string uri) static nothrow

Create a new security origin from the provided.

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

Parameters

uriThe URI for the new origin

Returns

A #WebKitSecurityOrigin.