webkit.security_origin
Module for [SecurityOrigin] class
class SecurityOrigin
Types 1
A security boundary for websites.
#WebKitSecurityOrigin is a representation of a security domain defined by websites. A security origin consists of a protocol, a hostname, and an optional port number.
Resources with the same security origin can generally access each other for client-side scripting or database access. When comparing origins, beware that if both protocol and host are null, the origins should not be treated as equal.
Methods
webkit.security_origin.SecurityOrigin newForUri(string uri) static nothrowCreate a new security origin from the provided.string getProtocol() nothrowGets the protocol of origin. Returns: The protocol of the #WebKitSecurityOrigin