webkitgtk3-0.13.1.3: Binding to the Webkit library.

Maintainergtk2hs-users@lists.sourceforge.net
Stabilityprovisional
Portabilityportable (depends on GHC)
Safe HaskellNone
LanguageHaskell98

Graphics.UI.Gtk.WebKit.SecurityOrigin

Contents

Description

Access to the WebKit Web SecurityOrigin

Synopsis

Desciption

WebKitSecurityOrigin is a representation of a security domain defined by web sites. An origin consists of a host name, a protocol, and a port number. Web sites with the same security origin can access each other's resources for client-side scripting or database access.

Use webFrameGetSecurityOrigin to get the security origin of a WebKitWebFrame.

Database quotas and usages are also defined per security origin. The cumulative disk usage of an origin's databases may be retrieved with securityOriginGetWebDatabaseUsage. An origin's quota can be adjusted with securityOriginSetWebDatabaseQuota.

Types

Methods

securityOriginGetAllWebDatabases :: SecurityOriginClass self => self -> IO [WebDatabase] Source

Returns the frame's security origin.

securityOriginGetHost :: (SecurityOriginClass self, GlibString string) => self -> IO string Source

Returns the hostname for the security origin.

securityOriginGetPort :: SecurityOriginClass self => self -> IO Int Source

Returns the port for the security origin.

securityOriginGetProtocol :: (SecurityOriginClass self, GlibString string) => self -> IO string Source

Returns the protocol for the security origin.

securityOriginGetWebDatabaseQuota :: SecurityOriginClass self => self -> IO Int Source

Returns the quota for Web Database storage of the security origin in bytes.

securityOriginSetWebDatabaseQuota :: SecurityOriginClass self => self -> Int -> IO () Source

Adjust the quota for Web Database storage of the security origin

securityOriginGetWebDatabaseUsage :: SecurityOriginClass self => self -> IO Int Source

Returns the usage for Web Database storage of the security origin in bytes.