Chrome 60: Error parsing 'integrity' attribute ('undefined').
Brought to you by:
tomkozak
Originally created by: piotr-cz
Library Affected:
7.1.0
Browser & Platform:
Chromium v60.0.3112.0
Issue or Feature Request Description:
Errors in console:
(11) Error parsing 'integrity' attribute ('undefined'). The hash algorithm must be one of 'sha256', 'sha384', 'sha512', followed by a '-' character.
It seems that Old Chromium versions show errors when fetching Request with integrity: undefined.
One of such example:
Fix is to omit the integrity attribute when it's undefined.
Errors are not present in Chromium 64+