WebKit2.ITPFirstParty

Fields

None

Methods

get_domain ()

get_last_update_time ()

get_website_data_access_allowed ()

ref ()

unref ()

Details

class WebKit2.ITPFirstParty

Describes a first party origin.

New in version 2.30.

get_domain()
Returns:

the domain name

Return type:

str

Get the domain name of self.

New in version 2.30.

get_last_update_time()
Returns:

the last update time as a GLib.DateTime

Return type:

GLib.DateTime

Get the last time a WebKit2.ITPThirdParty has been seen under self.

Each WebKitITPFirstParty is created by WebKit2.ITPThirdParty.get_first_parties() and therefore corresponds to exactly one WebKit2.ITPThirdParty.

New in version 2.30.

get_website_data_access_allowed()
Returns:

True if website data access has been granted, or False otherwise

Return type:

bool

Get whether self has granted website data access to its WebKit2.ITPThirdParty.

Each WebKitITPFirstParty is created by WebKit2.ITPThirdParty.get_first_parties() and therefore corresponds to exactly one WebKit2.ITPThirdParty.

New in version 2.30.

ref()
Returns:

The passed WebKit2.ITPFirstParty

Return type:

WebKit2.ITPFirstParty

Atomically increments the reference count of self by one.

This function is MT-safe and may be called from any thread.

New in version 2.30.

unref()

Atomically decrements the reference count of self by one.

If the reference count drops to 0, all memory allocated by WebKit2.ITPFirstParty is released. This function is MT-safe and may be called from any thread.

New in version 2.30.