WebKit.ITPFirstParty

Fields

None

Methods

get_domain ()

get_last_update_time ()

get_website_data_access_allowed ()

ref ()

unref ()

Details

class WebKit.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 WebKit.ITPThirdParty has been seen under self.

Each WebKitITPFirstParty is created by WebKit.ITPThirdParty.get_first_parties() and therefore corresponds to exactly one WebKit.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 WebKit.ITPThirdParty.

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

New in version 2.30.

ref()
Returns:

The passed WebKit.ITPFirstParty

Return type:

WebKit.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 WebKit.ITPFirstParty is released. This function is MT-safe and may be called from any thread.

New in version 2.30.