[FEATURE] Add integrity property to JavaScript files 32/39132/2
authorXavier Perseguers <xavier@typo3.org>
Fri, 1 May 2015 07:43:23 +0000 (09:43 +0200)
committerFrank Nägler <typo3@naegler.net>
Fri, 1 May 2015 12:38:22 +0000 (14:38 +0200)
commita507909376c740dc337b45afa59dfb374125cc95
treeb3d9eb62b18973e6281a3d846674eeb86c59398a
parent3489dd431550ff5ef91cfc633f9b136f4318526d
[FEATURE] Add integrity property to JavaScript files

Add a property 'integrity="some-hash"' to JavaScript files via TypoScript
page.includeJSlibs.<array>.integrity = some-hash

This patch affects the TypoScript PAGE properties
* includeJSlibs
* includeJSFooterlibs
* includeJS
* includeJSFooter

Resolves: #66698
Releases: master
Change-Id: I82b6aaaf424d7056844912f7194f88e01a972ec3
Reviewed-on: http://review.typo3.org/39132
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Frank Nägler <typo3@naegler.net>
Tested-by: Frank Nägler <typo3@naegler.net>
typo3/sysext/core/Classes/Page/PageRenderer.php
typo3/sysext/core/Documentation/Changelog/master/Feature-66698-AddIntegrityPropertyToJavaScriptFiles.rst [new file with mode: 0644]
typo3/sysext/frontend/Classes/Page/PageGenerator.php