Do not re-check subresource integrity on successful revalidation
In successful revalidation, - The SRI check result before the revalidation can be reused - Resource::Data() can be already null and thus we shouldn't check SRI again. This CL - Skips SRI checks if |integrity_disposition_| is already set (i.e. set before revalidation) to avoid crashing, and - Clears |integrity_disposition_| on failed revalidation to ensure correctness. Bug: 752830 Change-Id: I482cad4e6e0daa0c078f8fc5fe9f6c30526105dc Reviewed-on: https://chromium-review.googlesource.com/656297Reviewed-by:Yutaka Hirano <yhirano@chromium.org> Reviewed-by:
Kouhei Ueno <kouhei@chromium.org> Reviewed-by:
Daniel Vogelheim <vogelheim@chromium.org> Commit-Queue: Hiroshige Hayashizaki <hiroshige@chromium.org> Cr-Commit-Position: refs/heads/master@{#501573}
Showing
Please register or sign in to comment