Chrome's implementation of `SecurityPolicyViolation` fires on the `Document`, not the `Window`. Let's fix that, shall we?
-
-
: I'm not changing it, since Chrome and Safari are already shipping it and etc.
-
If only there was a next version of the CSP specification which made it possible to change things! FWIW no-one's using srcElement.
-
: Adding things is easy! Removing things is hard.
End of conversation
New conversation -
-
-
: I agree that firing something on the element would be helpful. We'll probably end up with that as an attribute on the event.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
: Though that's not going to be possible to implement (in Blink) without a lot of refactoring for e.g. request-driven violations.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.