Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(243)

Unified Diff: chrome/test/data/extensions/api_test/proxy/single/test.js

Issue 6312088: Fix handling of setting a single proxy in Proxy Settings API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/test/data/extensions/api_test/proxy/single/test.js
diff --git a/chrome/test/data/extensions/api_test/proxy/single/test.js b/chrome/test/data/extensions/api_test/proxy/single/test.js
index 9cc8502b24be2b886d91c759f59f0a881d893722..5f19b5e32ffca78a4f7de297e4e314a39b107f41 100644
--- a/chrome/test/data/extensions/api_test/proxy/single/test.js
+++ b/chrome/test/data/extensions/api_test/proxy/single/test.js
@@ -8,25 +8,12 @@
chrome.test.runTests([
function setSingleProxy() {
var oneProxy = {
- scheme: "http",
host: "127.0.0.1",
port: 100
};
- // Single proxy should override HTTP proxy.
- var httpProxy = {
- host: "8.8.8.8"
- };
-
- // Single proxy should not override SOCKS proxy.
- var socksProxy = {
- host: "9.9.9.9"
- };
-
var rules = {
- singleProxy: oneProxy,
- proxyForHttp: httpProxy,
- socksProxy: socksProxy,
+ singleProxy: oneProxy
};
var config = { rules: rules, mode: "fixed_servers" };

Powered by Google App Engine
This is Rietveld 408576698