WebKit2.WebsiteDataAccessPermissionRequest

g GObject.GInterface GObject.GInterface WebKit2.PermissionRequest WebKit2.PermissionRequest GObject.GInterface->WebKit2.PermissionRequest GObject.Object GObject.Object WebKit2.WebsiteDataAccessPermissionRequest WebKit2.WebsiteDataAccessPermissionRequest GObject.Object->WebKit2.WebsiteDataAccessPermissionRequest WebKit2.PermissionRequest->WebKit2.WebsiteDataAccessPermissionRequest

Subclasses:

None

Methods

Inherited:

GObject.Object (37), WebKit2.PermissionRequest (2)

Structs:

GObject.ObjectClass (5)

get_current_domain ()

get_requesting_domain ()

Virtual Methods

Inherited:

GObject.Object (7), WebKit2.PermissionRequest (2)

Properties

None

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent

GObject.Object

r

Class Details

class WebKit2.WebsiteDataAccessPermissionRequest(**kwargs)
Bases:

GObject.Object, WebKit2.PermissionRequest

Abstract:

No

Structure:

WebKit2.WebsiteDataAccessPermissionRequestClass

A permission request for accessing website data from third-party domains.

WebKit2.WebsiteDataAccessPermissionRequest represents a request for permission to allow a third-party domain access its cookies.

When a WebKit2.WebsiteDataAccessPermissionRequest is not handled by the user, it is denied by default.

New in version 2.30.

get_current_domain()
Returns:

the current domain name

Return type:

str

Get the current domain being browsed.

New in version 2.30.

get_requesting_domain()
Returns:

the requesting domain name

Return type:

str

Get the domain requesting permission to access its cookies while browsing the current domain.

New in version 2.30.