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

Popular posts from this blog

user interface - how to replace an ongoing process of image capture from another process call over the same ImageLabel in python's GUI TKinter -

javascript - Restarting Supervisor and effect on FlaskSocketIO -

php - Mongodb connectivity error -