Commit 5cb55d9c authored by rajendrant's avatar rajendrant Committed by Commit Bot

Fix testRangeRequest test by navigating to a different URL

The earlier URL /connect is navigated internally by the data saver
secure proxy checker. This could lead to confusion w.r.t. such
bfcache features that could return the cached response instead. So
navigating to a different URL.

Fixed: 1019976
Change-Id: I6450c1f48c6b8c9f089261f9d1693218240ddd3f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1903929Reviewed-by: default avatarRobert Ogden <robertogden@chromium.org>
Commit-Queue: rajendrant <rajendrant@chromium.org>
Cr-Commit-Position: refs/heads/master@{#713611}
parent 0682332b
...@@ -74,7 +74,7 @@ class Video(IntegrationTest): ...@@ -74,7 +74,7 @@ class Video(IntegrationTest):
def testRangeRequest(self): def testRangeRequest(self):
with TestDriver() as t: with TestDriver() as t:
t.AddChromeArg('--enable-spdy-proxy-auth') t.AddChromeArg('--enable-spdy-proxy-auth')
t.LoadURL('http://check.googlezip.net/connect') t.LoadURL('http://check.googlezip.net/report')
time.sleep(2) # wait for page load time.sleep(2) # wait for page load
t.ExecuteJavascript( t.ExecuteJavascript(
'var xhr = new XMLHttpRequest();' 'var xhr = new XMLHttpRequest();'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment