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.ProxyFixedIndividualRemove
27 proxyForHttp
: httpProxy
,
28 proxyForHttps
: httpsProxy
,
29 proxyForFtp
: ftpProxy
,
30 fallbackProxy
: fallbackProxy
,
33 var config
= { rules
: rules
, mode
: "fixed_servers" };
35 chrome
.test
.runTests([
36 // Verify that execution has started to make sure flaky timeouts are not
38 function verifyTestsHaveStarted() {
39 chrome
.test
.succeed();
41 function setIndividualProxies() {
42 chrome
.proxy
.settings
.set(
43 {'value': config
, 'scope': 'regular'},
44 chrome
.test
.callbackPass());
46 function clearProxies() {
47 chrome
.proxy
.settings
.clear(
49 chrome
.test
.callbackPass());