Fuente: https://github.com/chamilo/chamilo-lms/releases/download/v1.11.40/chamilo-1.11.40.zip sha256: 1cf4bf2cc7bae1ef1a1eff643235db1d552f78ddf4b6dd1e2d2dac9868679439 Snapshot independiente (rama huerfana); diffable vs 1.11.38. vendor incluido.
11 lines
554 B
JavaScript
11 lines
554 B
JavaScript
// Test for (experimental) Content Security Policy 1.1 support.
|
|
//
|
|
// This feature is still quite experimental, but is available now in Chrome 22.
|
|
// If the `SecurityPolicy` property is available, you can be sure the browser
|
|
// supports CSP. If it's not available, the browser still might support an
|
|
// earlier version of the CSP spec.
|
|
//
|
|
// Editor's Draft: https://dvcs.w3.org/hg/content-security-policy/raw-file/tip/csp-specification.dev.html
|
|
|
|
Modernizr.addTest('contentsecuritypolicy', ('securityPolicy' in document || 'SecurityPolicy' in document));
|