Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(61)

Issue 2741263002: Added Data Saver ChromeDriver test for via header fallback logic. (Closed)

Created:
3 years, 9 months ago by sclittle
Modified:
3 years, 9 months ago
Reviewers:
Robert Ogden, megjablon
CC:
chromium-reviews, tbansal+watch-data-reduction-proxy_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Added Data Saver ChromeDriver test for via header fallback logic. This test attempts to load a page through a test proxy that doesn't set the via header properly on a non-4xx response, and verifies that Chrome falls back to the next proxy and retries the request. BUG=680562 Review-Url: https://codereview.chromium.org/2741263002 Cr-Commit-Position: refs/heads/master@{#456806} Committed: https://chromium.googlesource.com/chromium/src/+/dda4c0c9ee86a2764173799140744e205d2ac0f2

Patch Set 1 : fixed comments #

Total comments: 4

Patch Set 2 : Remove 4xx test, and add remote port check #

Total comments: 2

Patch Set 3 : moved MissingViaHeaderOther fallback test into fallback.py #

Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -0 lines) Patch
M tools/chrome_proxy/webdriver/fallback.py View 1 2 1 chunk +33 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (13 generated)
sclittle
3 years, 9 months ago (2017-03-10 23:45:19 UTC) #2
megjablon
https://codereview.chromium.org/2741263002/diff/60001/tools/chrome_proxy/webdriver/bypass.py File tools/chrome_proxy/webdriver/bypass.py (right): https://codereview.chromium.org/2741263002/diff/60001/tools/chrome_proxy/webdriver/bypass.py#newcode108 tools/chrome_proxy/webdriver/bypass.py:108: def testMissingViaHeader4xxBypass(self): Isn't this the ChromeProxyHTTPToDirectFallback telemetry test? Is ...
3 years, 9 months ago (2017-03-11 00:51:47 UTC) #7
sclittle
https://codereview.chromium.org/2741263002/diff/60001/tools/chrome_proxy/webdriver/bypass.py File tools/chrome_proxy/webdriver/bypass.py (right): https://codereview.chromium.org/2741263002/diff/60001/tools/chrome_proxy/webdriver/bypass.py#newcode108 tools/chrome_proxy/webdriver/bypass.py:108: def testMissingViaHeader4xxBypass(self): On 2017/03/11 00:51:47, megjablon wrote: > Isn't ...
3 years, 9 months ago (2017-03-11 01:29:03 UTC) #8
megjablon
lgtm
3 years, 9 months ago (2017-03-14 17:33:55 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2741263002/40002
3 years, 9 months ago (2017-03-14 18:08:58 UTC) #13
Robert Ogden
https://codereview.chromium.org/2741263002/diff/40002/tools/chrome_proxy/webdriver/bypass.py File tools/chrome_proxy/webdriver/bypass.py (right): https://codereview.chromium.org/2741263002/diff/40002/tools/chrome_proxy/webdriver/bypass.py#newcode108 tools/chrome_proxy/webdriver/bypass.py:108: def testMissingViaHeaderNon4xxFallback(self): This belongs in fallback.py.
3 years, 9 months ago (2017-03-14 18:17:03 UTC) #14
sclittle
https://codereview.chromium.org/2741263002/diff/40002/tools/chrome_proxy/webdriver/bypass.py File tools/chrome_proxy/webdriver/bypass.py (right): https://codereview.chromium.org/2741263002/diff/40002/tools/chrome_proxy/webdriver/bypass.py#newcode108 tools/chrome_proxy/webdriver/bypass.py:108: def testMissingViaHeaderNon4xxFallback(self): On 2017/03/14 18:17:03, Robert Ogden wrote: > ...
3 years, 9 months ago (2017-03-14 19:22:28 UTC) #16
Robert Ogden
lgtm
3 years, 9 months ago (2017-03-14 19:26:21 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2741263002/90001
3 years, 9 months ago (2017-03-14 19:27:38 UTC) #20
commit-bot: I haz the power
3 years, 9 months ago (2017-03-14 20:13:50 UTC) #23
Message was sent while issue was closed.
Committed patchset #3 (id:90001) as
https://chromium.googlesource.com/chromium/src/+/dda4c0c9ee86a276417379914074...

Powered by Google App Engine
This is Rietveld 408576698