SecurityOrigin

constructor(protocol: String, host: String, port: <Error class: unknown class>)(source)

Create a new security origin from the provided protocol, host and port.

Return

A #WebKitSecurityOrigin.

Since

2.16

Parameters

protocol

The protocol for the new origin

host

The host for the new origin

port

The port number for the new origin, or 0 to indicate the default port for @protocol


constructor(uri: String)(source)

Create a new security origin from the provided.

Create a new security origin from the provided URI. Components of

Return

A #WebKitSecurityOrigin.

Since

2.16

Parameters

uri

The URI for the new origin


constructor(webkitSecurityOriginPointer: <Error class: unknown class><<Error class: unknown class>>)(source)