Check Expect-CT preflight success before accessing response code
While adding Expect-CT support for chrome://net-internals, I noticed that a crash can occur if the report URL results in a net error. This appears to be due to accessing the response code before checking the request status is success. Unfortunately, I can't reproduce the crash in a browser or unit test, perhaps because it's a race. Bug: 751197 Change-Id: I60c2b4debe19da9ef98f838ce2013747644a39d8 Reviewed-on: https://chromium-review.googlesource.com/596514Reviewed-by:Mustafa Emre Acer <meacer@chromium.org> Commit-Queue: Emily Stark <estark@chromium.org> Cr-Commit-Position: refs/heads/master@{#491161}
Showing
Please register or sign in to comment