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

Unified Diff: net/data/proxy_resolver_v8_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_unittest/terminate.js
diff --git a/net/data/proxy_resolver_v8_unittest/terminate.js b/net/data/proxy_resolver_v8_unittest/terminate.js
deleted file mode 100644
index 08d928919076f9f9b9203a690548d89cb14696f5..0000000000000000000000000000000000000000
--- a/net/data/proxy_resolver_v8_unittest/terminate.js
+++ /dev/null
@@ -1,26 +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.
-
-function FindProxyForURL(url, host) {
- if (host != 'hang')
- return 'PROXY ' + host + ':88';
-
- var ip = dnsResolve("host1");
-
- // The following may or may not be executed, even if dnsResolve() terminates
- // the script execution.
- dnsResolveEx("host2");
- dnsResolveEx("host3");
- alert("hahaha");
-
- // Hang!
- for (;;) {}
-
- // The following definitely won't be executed, since control should never
- // make it past the preceding hang.
- dnsResolve("host4");
- dnsResolve("host5");
- alert("uhm...");
- throw "not reached";
-}
« no previous file with comments | « net/data/proxy_resolver_v8_unittest/simple.js ('k') | net/data/proxy_resolver_v8_unittest/unhandled_exception.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698