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

Unified Diff: net/data/proxy_resolver_v8_tracing_unittest/terminate.js

Issue 992733002: Remove //net (except for Android test stuff) and sdch (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 9 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: net/data/proxy_resolver_v8_tracing_unittest/terminate.js
diff --git a/net/data/proxy_resolver_v8_tracing_unittest/terminate.js b/net/data/proxy_resolver_v8_tracing_unittest/terminate.js
deleted file mode 100644
index 88fe4cb2389fcb0f289b1c6761b892afdaa1484f..0000000000000000000000000000000000000000
--- a/net/data/proxy_resolver_v8_tracing_unittest/terminate.js
+++ /dev/null
@@ -1,20 +0,0 @@
-// Copyright (c) 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-var g_iteration = 0;
-
-function FindProxyForURL(url, host) {
- g_iteration++;
-
- var ip1 = dnsResolve("host1");
- var ip2 = dnsResolveEx("host2");
-
- if (ip1 == "182.111.0.222" && ip2 == "111.33.44.55")
- return "PROXY foopy:" + g_iteration;
-
- // If the script didn't terminate when abandoned, then it will reach this and
- // hang.
- for (;;) {}
- throw "not reached";
-}

Powered by Google App Engine
This is Rietveld 408576698