commit | ce907c889943d12088f498aff2f2a9cc29420613 | [log] [tgz] |
---|---|---|
author | shekyan <shekyan@gmail.com> | Fri Oct 14 19:49:27 2016 |
committer | Commit bot <commit-bot@chromium.org> | Fri Oct 14 19:53:43 2016 |
tree | 36837e005102272c53744bbcf09a9e0129596ad5 | |
parent | fdcbab80bc37108f6e03d6906f27831228690350 [diff] |
Add `disposition` to SecurityPolicyViolationEvent Recently, Content Security Policy specification introduced disposition of violation [1]. This change extends the SecurityPolicyVioaltionEvent with `disposition` property, that indicates the disposition of the violated policy. Property value is a read-only string that corresponds to the policy disposition [2], and can be either "enforce" or "report". [1] https://w3c.github.io/webappsec-csp/#violation-disposition [2] https://w3c.github.io/webappsec-csp/#policy-disposition Intent to Ship - https://groups.google.com/a/chromium.org/d/topic/blink-dev/ip4dmVNr15Y/discussion BUG=646021 R=mkwst@chromium.org Review-Url: https://codereview.chromium.org/2331213002 Cr-Commit-Position: refs/heads/master@{#425438}