Name | Description | |
---|---|---|
ContentSecurityPolicyViolation.ContentSecurityPolicyViolationsReport Constructor |
The following tables list the members exposed by ContentSecurityPolicyViolation.ContentSecurityPolicyViolationsReport.
Name | Description | |
---|---|---|
ContentSecurityPolicyViolation.ContentSecurityPolicyViolationsReport Constructor |
Name | Description | |
---|---|---|
BlockedUri | The URI of the resource that was blocked from loading by the Content Security Policy. If the blocked URI is from a different origin than the document-uri, then the blocked URI is truncated to contain just the scheme, host, and port. | |
Disposition | Either "enforce" or "report" depending on whether the Content-Security-Policy-Report-Only header or the Content-Security-Policy header is used. | |
DocumentUri | The URI of the document in which the violation occurred. | |
EffectiveDirective | The directive whose enforcement caused the violation. | |
LineNumber | the line number in the document that caused the violation | |
OriginalPolicy | The original policy as specified by the Content-Security-Policy HTTP header. | |
Referrer | The referrer of the document in which the violation occurred. | |
ScriptSample | The first 40 characters of the inline script, event handler, or style that caused the violation. | |
SourceFile | the file name | |
StatusCode | The HTTP status code of the resource on which the global object was instantiated. | |
ViolatedDirective | The name of the policy section that was violated. |
Name | Description | |
---|---|---|
Equals | Overloaded. Determines whether the specified System.Object is equal to this instance. | |
GetHashCode | Returns a hash code for this instance. |
Name | Description | |
---|---|---|
TryParse<T,TSender> | implements parsing to cast a type from string to a type |