test: add test of policy about parse error
Add test cases of policy when the error ERR_SRI_PARSE
occurs.
The current coverage about sri is here.
I add a new file test-policy-parse-integrity.js
because I think it's too complicated when I enhanced the test-policy-integrity.js
to pass the invalid integrity string.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines