# Motivation
About 4 years ago, I added a 'FIXME' comment to WebKit noting that we should probably respond to CSP violations by firing 'SecurityPolicyViolation' events inside Workers, and not just inside Documents. *cough* I'd like to get back to that now that we're migrating most of our CSP tests to `testharness.js`; writing assertions against relevant events is a hundred times easier than working around their absence.
# Interop Risk
Low. Mozilla
plans to implement the event (and since I keep bugging them about it, I kinda want to make sure our implementation actually works :) ), it should be a small change for WebKit as well.
Indeed, this should _lower_ the interop risk, as it makes it simpler to write Worker-based `testharness.js` tests.
# Compat Risk
Low. Existing sites will ignore the event, as they won't be listening for it.
# Technical Constraints
None.
# All Blink Platforms?
Yes.
# OWP Bug
# Chromestatus
https://www.chromestatus.com/feature/5679844478156800
# Requesting approval to ship?
Yes. This is a fairly small change, as it rests on top of all the other CSP infrastructure we already have.
# Web Platform Tests