| Index: tools/chrome_proxy/webdriver/incognito.py
|
| diff --git a/tools/chrome_proxy/webdriver/incognito.py b/tools/chrome_proxy/webdriver/incognito.py
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..1f36d3a97f9e2b17b276df394e13b6b255f2cc07
|
| --- /dev/null
|
| +++ b/tools/chrome_proxy/webdriver/incognito.py
|
| @@ -0,0 +1,22 @@
|
| +# Copyright 2017 The Chromium Authors. All rights reserved.
|
| +# Use of this source code is governed by a BSD-style license that can be
|
| +# found in the LICENSE file.
|
| +
|
| +import common
|
| +from common import TestDriver
|
| +from common import IntegrationTest
|
| +
|
| +
|
| +class Incognito(IntegrationTest):
|
| +
|
| + # Ensure Chrome does not use DataSaver in Incognito mode.
|
| + def testCheckPageWithIncognito(self):
|
| + with TestDriver() as t:
|
| + t.AddChromeArg('--enable-spdy-proxy-auth')
|
| + t.AddChromeArg('--incognito')
|
| + t.LoadURL('http://check.googlezip.net/test.html')
|
| + for response in t.GetHTTPResponses():
|
| + self.assertNotHasChromeProxyViaHeader(response)
|
| +
|
| +if __name__ == '__main__':
|
| + IntegrationTest.RunAllTests()
|
|
|