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

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

Issue 1944983002: Revert "Add a histogram (Net.PacResultForStrippedUrl) that estimates how often PAC scripts depend o… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2704
Patch Set: Created 4 years, 8 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/error_depending_on_url.js
diff --git a/net/data/proxy_resolver_v8_tracing_unittest/error_depending_on_url.js b/net/data/proxy_resolver_v8_tracing_unittest/error_depending_on_url.js
deleted file mode 100644
index 42256ebc66e777333848e661e4b185952fda1027..0000000000000000000000000000000000000000
--- a/net/data/proxy_resolver_v8_tracing_unittest/error_depending_on_url.js
+++ /dev/null
@@ -1,13 +0,0 @@
-// Copyright 2016 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.
-
-// This proxy script throws an error if the URL does not contain the substring
-// "DontThrowError".
-function FindProxyForURL(url, host) {
- if (url.indexOf("DontThrowError") == -1) {
- ErrorUndefinedFunction();
- return -1;
- }
- return "PROXY foopy:42";
-}

Powered by Google App Engine
This is Rietveld 408576698