Revert "Only store leading 13 bits of password hash."
[chromium-blink-merge.git] / chrome / test / data / extensions / api_test / proxy / individual_remove / test.js
blob4b47c723f835835c55d82537260566a7f9f3b620
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.
5 // proxy api test
6 // browser_tests.exe
7 // --gtest_filter=ProxySettingsApiTest.ProxyFixedIndividualRemove
9 var httpProxy = {
10 host: "1.1.1.1"
12 var httpsProxy = {
13 scheme: "socks5",
14 host: "2.2.2.2"
16 var ftpProxy = {
17 host: "3.3.3.3",
18 port: 9000
20 var fallbackProxy = {
21 scheme: "socks4",
22 host: "4.4.4.4",
23 port: 9090
26 var rules = {
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
37 // caused by us.
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(
48 {'scope': 'regular'},
49 chrome.test.callbackPass());
51 ]);