Roll src/third_party/WebKit d9c6159:8139f33 (svn 201974:201975)
[chromium-blink-merge.git] / chrome / test / data / extensions / api_test / proxy / system / test.js
bloba8b92e04858a8d6fc799d6c65386e43fcc93f4d8
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 --gtest_filter=ProxySettingsApiTest.ProxySystem
8 chrome.test.runTests([
9 // Verify that execution has started to make sure flaky timeouts are not
10 // caused by us.
11 function verifyTestsHaveStarted() {
12 chrome.test.succeed();
14 function setSystemProxy() {
15 var config = { mode: "system" };
16 chrome.proxy.settings.set(
17 {'value': config},
18 chrome.test.callbackPass());
20 ]);