javascript - Safari: how to catch CSP exceptions -
i creating website , have appropriate csp headers set already. in code have line in following form:
<object id="some_id" data="some_data" onerror="some_stuff"></object>
"some_data" violate csp settings, exception raised. on chrome, trigger event handler, causing "some_stuff" run. however, not happen in safari, though exception did raised when check inspector. may know need catch csp exception? want able run code once exception has been caught.
thank you!
Comments
Post a Comment