SecurityOrigin.newForUri

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.

class SecurityOrigin
static
newForUri
(
string uri
)

Parameters

uri string

The URI for the new origin

Return Value

Type: webkit.security_origin.SecurityOrigin

A #WebKitSecurityOrigin.