Fixes and technical debt for hash-based policies
Fixed an issue where multiple policies with different algorithms would deny scripts/styles Fixed an issue where report-only policies could cause hash-based policies to incorrectly deny scripts/styles Fixed an issue where mixing hash based and not hash based policies would deny scripts/styles because the checks were done independently Got rid of the IsAllowedByAll template system and replaced it with for loops Ensured that checks that check hashes are now incorporated in their respective allows function Removed the need for external callers to know to call the hash specific functions checks since now they are integrated Added LayoutTests relevant to the issues above Bug: 617065, 739292, 740688 Change-Id: I1b56afe899eac6358d2ef33fc7030aef568f89ac Reviewed-on: https://chromium-review.googlesource.com/570248Reviewed-by:Mike West <mkwst@chromium.org> Commit-Queue: Mike West <mkwst@chromium.org> Cr-Commit-Position: refs/heads/master@{#486822}
Showing
This diff is collapsed.
Please register or sign in to comment