3.6 <WebKitITPFirstParty>

Structure: <WebKitITPFirstParty>

Describes a first party origin.

Procedures

Method: itpfirst-party:get-domain self ⇒ %return
Method: get-domain self ⇒ %return

Get the domain name of self.

self

Passed: a <WebKitITPFirstParty>.

a <WebKitITPFirstParty>

%return

Returned: a string.

the domain name

Method: itpfirst-party:get-last-update-time self ⇒ %return
Method: get-last-update-time self ⇒ %return

Get the last time a <WebKitITPThirdParty> has been seen under self.

Each WebKitITPFirstParty is created by itpthird-party:get-first-parties and therefore corresponds to exactly one <WebKitITPThirdParty>.

self

Passed: a <WebKitITPFirstParty>.

a <WebKitITPFirstParty>

%return

Returned: a <GDateTime>.

the last update time as a <GDateTime>

Method: itpfirst-party:get-website-data-access-allowed? self ⇒ %return
Method: get-website-data-access-allowed? self ⇒ %return

Get whether self has granted website data access to its <WebKitITPThirdParty>.

Each WebKitITPFirstParty is created by itpthird-party:get-first-parties and therefore corresponds to exactly one <WebKitITPThirdParty>.

self

Passed: a <WebKitITPFirstParty>.

a <WebKitITPFirstParty>

%return

Returned: a boolean.

#t if website data access has been granted, or #f otherwise

Method: itpfirst-party:ref self ⇒ %return
Method: ref self ⇒ %return

Atomically increments the reference count of self by one.

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

self

Passed: a <WebKitITPFirstParty>.

a <WebKitITPFirstParty>

%return

Returned: a <WebKitITPFirstParty>.

The passed <WebKitITPFirstParty>

Method: itpfirst-party:unref self
Method: unref self

Atomically decrements the reference count of self by one.

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

self

Passed: a <WebKitITPFirstParty>.

a <WebKitITPFirstParty>