You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My compilation target is ES2015 and my lib is ["esnext", "dom"].
Missing / Incorrect Definition
the interface SecurityPolicyViolationEvent is missing the disposition field.
Sample Code
privatecheckSecPolicyViolation(event: SecurityPolicyViolationEvent){if(event.disposition==='report')return"not important";elseif(event.disposition==='enforce')return"something needs to be done";}
Documentation Link
According to https://www.w3.org/TR/CSP3/#violation-events, the interface SecurityPolicyViolationEvent has a field called disposition. This field is present in Chrome, Firefox, Safari.
The text was updated successfully, but these errors were encountered:
lib Update Request
Configuration Check
My compilation target is
ES2015
and my lib is["esnext", "dom"]
.Missing / Incorrect Definition
the interface SecurityPolicyViolationEvent is missing the
disposition
field.Sample Code
Documentation Link
According to https://www.w3.org/TR/CSP3/#violation-events, the interface SecurityPolicyViolationEvent has a field called disposition. This field is present in Chrome, Firefox, Safari.
The text was updated successfully, but these errors were encountered: