WebKitDOMGTK+ Reference Manual: WebKitDOMDOMSecurityPolicy

## WebKitDOMDOMSecurityPolicy WebKitDOMDOMSecurityPolicy |

## Synopsis

                        WebKitDOMDOMSecurityPolicy;
    gboolean            webkit_dom_dom_security_policy_allows_connection_to
                                                            (WebKitDOMDOMSecurityPolicy *self,
                                                             const gchar *url);
    gboolean            webkit_dom_dom_security_policy_allows_font_from
                                                            (WebKitDOMDOMSecurityPolicy *self,
                                                             const gchar *url);
    gboolean            webkit_dom_dom_security_policy_allows_form_action
                                                            (WebKitDOMDOMSecurityPolicy *self,
                                                             const gchar *url);
    gboolean            webkit_dom_dom_security_policy_allows_frame_from
                                                            (WebKitDOMDOMSecurityPolicy *self,
                                                             const gchar *url);
    gboolean            webkit_dom_dom_security_policy_allows_image_from
                                                            (WebKitDOMDOMSecurityPolicy *self,
                                                             const gchar *url);
    gboolean            webkit_dom_dom_security_policy_allows_media_from
                                                            (WebKitDOMDOMSecurityPolicy *self,
                                                             const gchar *url);
    gboolean            webkit_dom_dom_security_policy_allows_object_from
                                                            (WebKitDOMDOMSecurityPolicy *self,
                                                             const gchar *url);
    gboolean            webkit_dom_dom_security_policy_allows_plugin_type
                                                            (WebKitDOMDOMSecurityPolicy *self,
                                                             const gchar *type);
    gboolean            webkit_dom_dom_security_policy_allows_script_from
                                                            (WebKitDOMDOMSecurityPolicy *self,
                                                             const gchar *url);
    gboolean            webkit_dom_dom_security_policy_allows_style_from
                                                            (WebKitDOMDOMSecurityPolicy *self,
                                                             const gchar *url);
    gboolean            webkit_dom_dom_security_policy_get_allows_eval
                                                            (WebKitDOMDOMSecurityPolicy *self);
    gboolean            webkit_dom_dom_security_policy_get_allows_inline_script
                                                            (WebKitDOMDOMSecurityPolicy *self);
    gboolean            webkit_dom_dom_security_policy_get_allows_inline_style
                                                            (WebKitDOMDOMSecurityPolicy *self);
    gboolean            webkit_dom_dom_security_policy_get_is_active
                                                            (WebKitDOMDOMSecurityPolicy *self);
    WebKitDOMDOMStringList * webkit_dom_dom_security_policy_get_report_ur_is
                                                            (WebKitDOMDOMSecurityPolicy *self);

## Object Hierarchy

      GObject
       +----WebKitDOMObject
             +----WebKitDOMDOMSecurityPolicy

## Properties

      "allows-eval"              gboolean              : Read
      "allows-inline-script"     gboolean              : Read
      "allows-inline-style"      gboolean              : Read
      "is-active"                gboolean              : Read
      "report-ur-is"             WebKitDOMDOMStringList*  : Read

## Description

## Details

### WebKitDOMDOMSecurityPolicy

    typedef struct _WebKitDOMDOMSecurityPolicy WebKitDOMDOMSecurityPolicy;

### webkit_dom_dom_security_policy_allows_connection_to ()

    gboolean            webkit_dom_dom_security_policy_allows_connection_to
                                                            (WebKitDOMDOMSecurityPolicy *self,
                                                             const gchar *url);

`self` : | A WebKitDOMDOMSecurityPolicy
`url` : | A gchar
Returns : | A gboolean

### webkit_dom_dom_security_policy_allows_font_from ()

    gboolean            webkit_dom_dom_security_policy_allows_font_from
                                                            (WebKitDOMDOMSecurityPolicy *self,
                                                             const gchar *url);

`self` : | A WebKitDOMDOMSecurityPolicy
`url` : | A gchar
Returns : | A gboolean

### webkit_dom_dom_security_policy_allows_form_action ()

    gboolean            webkit_dom_dom_security_policy_allows_form_action
                                                            (WebKitDOMDOMSecurityPolicy *self,
                                                             const gchar *url);

`self` : | A WebKitDOMDOMSecurityPolicy
`url` : | A gchar
Returns : | A gboolean

### webkit_dom_dom_security_policy_allows_frame_from ()

    gboolean            webkit_dom_dom_security_policy_allows_frame_from
                                                            (WebKitDOMDOMSecurityPolicy *self,
                                                             const gchar *url);

`self` : | A WebKitDOMDOMSecurityPolicy
`url` : | A gchar
Returns : | A gboolean

### webkit_dom_dom_security_policy_allows_image_from ()

    gboolean            webkit_dom_dom_security_policy_allows_image_from
                                                            (WebKitDOMDOMSecurityPolicy *self,
                                                             const gchar *url);

`self` : | A WebKitDOMDOMSecurityPolicy
`url` : | A gchar
Returns : | A gboolean

### webkit_dom_dom_security_policy_allows_media_from ()

    gboolean            webkit_dom_dom_security_policy_allows_media_from
                                                            (WebKitDOMDOMSecurityPolicy *self,
                                                             const gchar *url);

`self` : | A WebKitDOMDOMSecurityPolicy
`url` : | A gchar
Returns : | A gboolean

### webkit_dom_dom_security_policy_allows_object_from ()

    gboolean            webkit_dom_dom_security_policy_allows_object_from
                                                            (WebKitDOMDOMSecurityPolicy *self,
                                                             const gchar *url);

`self` : | A WebKitDOMDOMSecurityPolicy
`url` : | A gchar
Returns : | A gboolean

### webkit_dom_dom_security_policy_allows_plugin_type ()

    gboolean            webkit_dom_dom_security_policy_allows_plugin_type
                                                            (WebKitDOMDOMSecurityPolicy *self,
                                                             const gchar *type);

`self` : | A WebKitDOMDOMSecurityPolicy
`type` : | A gchar
Returns : | A gboolean

### webkit_dom_dom_security_policy_allows_script_from ()

    gboolean            webkit_dom_dom_security_policy_allows_script_from
                                                            (WebKitDOMDOMSecurityPolicy *self,
                                                             const gchar *url);

`self` : | A WebKitDOMDOMSecurityPolicy
`url` : | A gchar
Returns : | A gboolean

### webkit_dom_dom_security_policy_allows_style_from ()

    gboolean            webkit_dom_dom_security_policy_allows_style_from
                                                            (WebKitDOMDOMSecurityPolicy *self,
                                                             const gchar *url);

`self` : | A WebKitDOMDOMSecurityPolicy
`url` : | A gchar
Returns : | A gboolean

### webkit_dom_dom_security_policy_get_allows_eval ()

    gboolean            webkit_dom_dom_security_policy_get_allows_eval
                                                            (WebKitDOMDOMSecurityPolicy *self);

`self` : | A WebKitDOMDOMSecurityPolicy
Returns : | A gboolean

### webkit_dom_dom_security_policy_get_allows_inline_script ()

    gboolean            webkit_dom_dom_security_policy_get_allows_inline_script
                                                            (WebKitDOMDOMSecurityPolicy *self);

`self` : | A WebKitDOMDOMSecurityPolicy
Returns : | A gboolean

### webkit_dom_dom_security_policy_get_allows_inline_style ()

    gboolean            webkit_dom_dom_security_policy_get_allows_inline_style
                                                            (WebKitDOMDOMSecurityPolicy *self);

`self` : | A WebKitDOMDOMSecurityPolicy
Returns : | A gboolean

### webkit_dom_dom_security_policy_get_is_active ()

    gboolean            webkit_dom_dom_security_policy_get_is_active
                                                            (WebKitDOMDOMSecurityPolicy *self);

`self` : | A WebKitDOMDOMSecurityPolicy
Returns : | A gboolean

### webkit_dom_dom_security_policy_get_report_ur_is ()

    WebKitDOMDOMStringList * webkit_dom_dom_security_policy_get_report_ur_is
                                                            (WebKitDOMDOMSecurityPolicy *self);

`self` : | A WebKitDOMDOMSecurityPolicy
Returns : | A WebKitDOMDOMStringList. [transfer none]

## Property Details

### The `"allows-eval"` property

      "allows-eval"              gboolean              : Read

read-only gboolean DOMSecurityPolicy:allows-eval.

Default value: FALSE

### The `"allows-inline-script"` property

      "allows-inline-script"     gboolean              : Read

read-only gboolean DOMSecurityPolicy:allows-inline-script.

Default value: FALSE

### The `"allows-inline-style"` property

      "allows-inline-style"      gboolean              : Read

read-only gboolean DOMSecurityPolicy:allows-inline-style.

Default value: FALSE

### The `"is-active"` property

      "is-active"                gboolean              : Read

read-only gboolean DOMSecurityPolicy:is-active.

Default value: FALSE

### The `"report-ur-is"` property

      "report-ur-is"             WebKitDOMDOMStringList*  : Read

read-only WebKitDOMDOMStringList* DOMSecurityPolicy:report-ur-is.