SecurityPolicyViolationEventInit constructor
SecurityPolicyViolationEventInit({
- String? blockedURI,
- num? columnNumber,
- SecurityPolicyViolationEventDisposition? disposition,
- String? documentURI,
- String? effectiveDirective,
- num? lineNumber,
- String? originalPolicy,
- String? referrer,
- String? sample,
- String? sourceFile,
- num? statusCode,
- String? violatedDirective,
- bool? bubbles,
- bool? cancelable,
- bool? composed,
Implementation
factory SecurityPolicyViolationEventInit({
_i2.String? blockedURI,
_i2.num? columnNumber,
_i3.SecurityPolicyViolationEventDisposition? disposition,
_i2.String? documentURI,
_i2.String? effectiveDirective,
_i2.num? lineNumber,
_i2.String? originalPolicy,
_i2.String? referrer,
_i2.String? sample,
_i2.String? sourceFile,
_i2.num? statusCode,
_i2.String? violatedDirective,
_i2.bool? bubbles,
_i2.bool? cancelable,
_i2.bool? composed,
}) =>
SecurityPolicyViolationEventInit._(
blockedURI: blockedURI,
columnNumber: columnNumber,
disposition: disposition?.name ?? _i6.undefined,
documentURI: documentURI,
effectiveDirective: effectiveDirective,
lineNumber: lineNumber,
originalPolicy: originalPolicy,
referrer: referrer,
sample: sample,
sourceFile: sourceFile,
statusCode: statusCode,
violatedDirective: violatedDirective,
bubbles: bubbles,
cancelable: cancelable,
composed: composed,
);