1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
7 // --gtest_filter=ProxySettingsApiTest.ProxyFixedIndividualIncognitoAlso
10 // Verify that execution has started to make sure flaky timeouts are not
12 function verifyTestsHaveStarted() {
13 chrome.test.succeed();
15 function setIndividualProxiesRegular() {
34 proxyForHttp: httpProxy,
35 proxyForHttps: httpsProxy,
36 proxyForFtp: ftpProxy,
37 fallbackProxy: fallbackProxy,
40 var config = { rules: rules, mode: "fixed_servers" };
41 chrome.proxy.settings.set(
42 {'value': config, 'scope': 'regular'},
43 chrome.test.callbackPass());
45 function setIndividualProxiesIncognito() {
64 proxyForHttp: httpProxy,
65 proxyForHttps: httpsProxy,
66 proxyForFtp: ftpProxy,
67 fallbackProxy: fallbackProxy,
70 var config = { rules: rules, mode: "fixed_servers" };
71 chrome.proxy.settings.set(
72 {'value': config, 'scope': 'incognito_persistent'},
73 chrome.test.callbackPass());