diff options
author | ttuttle@chromium.org <ttuttle@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-05-16 16:57:27 +0000 |
---|---|---|
committer | ttuttle@chromium.org <ttuttle@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-05-16 16:57:27 +0000 |
commit | 799b3a0d40cbe521835666e8fd8fa86f20db84e3 (patch) | |
tree | 8c36142f3b2f93ad64a49b9de29f8ab626905573 /tools/safely-roll-blink.py | |
parent | a0e681cc2bfb1f549f7c46c1a11d62757905ed03 (diff) | |
download | chromium_src-799b3a0d40cbe521835666e8fd8fa86f20db84e3.zip chromium_src-799b3a0d40cbe521835666e8fd8fa86f20db84e3.tar.gz chromium_src-799b3a0d40cbe521835666e8fd8fa86f20db84e3.tar.bz2 |
Domain Reliability: Don't use error code unless request failed
I was copying the error code out of the URLRequestStatus of a monitored
request whether or not the status was FAILED; in cases where it wasn't,
the error would be something random (often QUIC_PROTOCOL_ERROR).
This change makes sure that we only copy the error code when we should,
and adds a unit test to make sure that beacons for successful requests
contain net::OK even if the error field contains something else.
BUG=356791
Review URL: https://codereview.chromium.org/284103003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@271038 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/safely-roll-blink.py')
0 files changed, 0 insertions, 0 deletions