Skip to content
Snippets Groups Projects
  • Reiter, Christoph's avatar
    f531fc7e
    matomo: send securitypolicyviolation events · f531fc7e
    Reiter, Christoph authored
    This event gets dispatched in case the CSP blocks something.
    This is motivated by browsers handling this differently, for
    example spawning a worker via blob: is allowed in chrome, but not in firefox
    and things like "worker-src" is not supported in safari..
    
    So having some error reporting there is helpful in case some browser
    version somewhere behaves differently.
    f531fc7e
    History
    matomo: send securitypolicyviolation events
    Reiter, Christoph authored
    This event gets dispatched in case the CSP blocks something.
    This is motivated by browsers handling this differently, for
    example spawning a worker via blob: is allowed in chrome, but not in firefox
    and things like "worker-src" is not supported in safari..
    
    So having some error reporting there is helpful in case some browser
    version somewhere behaves differently.