SecurityPolicyViolationEvent constructor

SecurityPolicyViolationEvent(
  1. String type, [
  2. SecurityPolicyViolationEventInit? eventInitDict
])

Implementation

factory SecurityPolicyViolationEvent(String type,
        [SecurityPolicyViolationEventInit? eventInitDict]) =>
    SecurityPolicyViolationEvent._(type, eventInitDict ?? undefined);