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

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

Issue 1797313003: Add a histogram (Net.PacResultForStrippedUrl) that estimates how often PAC scripts depend on the UR… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update some more comments per mpearson's feedback. Created 4 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
« no previous file with comments | « no previous file | net/data/proxy_resolver_v8_tracing_unittest/dns_depending_on_url.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/data/proxy_resolver_v8_tracing_unittest/alert_url.js
diff --git a/chrome/test/data/extensions/api_test/executescript/http204/at_document_end.js b/net/data/proxy_resolver_v8_tracing_unittest/alert_url.js
similarity index 66%
copy from chrome/test/data/extensions/api_test/executescript/http204/at_document_end.js
copy to net/data/proxy_resolver_v8_tracing_unittest/alert_url.js
index 5b0e04991e627c97943dd6628ec098aaf692abec..3cc14c946f15b946c6e46f34478c7ad82b31702f 100644
--- a/chrome/test/data/extensions/api_test/executescript/http204/at_document_end.js
+++ b/net/data/proxy_resolver_v8_tracing_unittest/alert_url.js
@@ -2,4 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-window.documentEnd = window.documentEnd ? documentEnd + 1 : 1;
+function FindProxyForURL(url, host) {
+ alert(url);
+ return "PROXY foobar:99";
+}
« no previous file with comments | « no previous file | net/data/proxy_resolver_v8_tracing_unittest/dns_depending_on_url.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698