onSecurityPolicyViolation property

Stream<SecurityPolicyViolationEvent> onSecurityPolicyViolation

Stream of securitypolicyviolation events handled by this Document.

Source

@DomName('Document.onsecuritypolicyviolation')
@DocsEditable()
// https://dvcs.w3.org/hg/content-security-policy/raw-file/tip/csp-specification.dev.html#widl-Document-onsecuritypolicyviolation
@Experimental()
Stream<SecurityPolicyViolationEvent> get onSecurityPolicyViolation =>
    securityPolicyViolationEvent.forTarget(this);

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-html/Document/onSecurityPolicyViolation.html