Language

SecurityPolicyWarning Class

Definition

A warning produced by ValidateSecurityPolicy(String, HtmlWidgetSecurityPolicy) when the widget HTML references an external origin not present in the declared security policy.

public class SecurityPolicyWarning
type SecurityPolicyWarning = class
Public Class SecurityPolicyWarning
Inheritance
SecurityPolicyWarning

Constructors

Name Description
SecurityPolicyWarning()

Properties

Name Description
Message

A human-readable description of the issue.

PolicyField

The securityPolicy field that should include this origin.

Source

The HTML element or API where the reference was found.

Url

The URL or origin found in the HTML.

Applies to