[devtools] Report Trust Token cache hits as successful requests
Trust Token Redemption can be short-circuited if a valid Signed-Redemption-Record (SRR) already exists. In this case, the network service aborts the request with a special error code. In DevTools, this is repoted as a failed request, even though it was technically a successful request served from cache. This CL handles this case better and emits a loadingFinisehd event instead of a loadingFailed event. R=caseq@chromium.org, sigurds@chromium.org Bug: chromium:1141652 Change-Id: Ie0408b7557928722ddb1964c1ad5d8bdf73aa831 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2516225Reviewed-by:Nate Chapin <japhet@chromium.org> Reviewed-by:
Sigurd Schneider <sigurds@chromium.org> Reviewed-by:
Andrey Kosyakov <caseq@chromium.org> Commit-Queue: Simon Zünd <szuend@chromium.org> Cr-Commit-Position: refs/heads/master@{#824778}
Showing
Please register or sign in to comment