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

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

Issue 1126513002: Add ProxyResolverFactoryV8Tracing. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mojo-proxy-refactor
Patch Set: Created 5 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
« no previous file with comments | « no previous file | net/proxy/mojo_proxy_resolver_factory_impl.cc » ('j') | net/proxy/proxy_resolver_v8_tracing.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/data/proxy_resolver_v8_tracing_unittest/error_on_load.js
diff --git a/net/data/proxy_resolver_v8_tracing_unittest/error_on_load.js b/net/data/proxy_resolver_v8_tracing_unittest/error_on_load.js
new file mode 100644
index 0000000000000000000000000000000000000000..6dfe9942b6d04ec17019052a30a6b2169b1895af
--- /dev/null
+++ b/net/data/proxy_resolver_v8_tracing_unittest/error_on_load.js
@@ -0,0 +1,7 @@
+alert('Prepare to DIE!');
eroman 2015/05/05 00:04:55 Note: You may hit some presubmit warning about lac
Sam McNally 2015/05/05 01:31:36 Done. The presubmit's already unhappy about the ex
+var x = null;
+return x.split('-'); // Throws exception.
+
+function FindProxyForURL(url, host) {
+ return "PROXY i-approve-this-message:42";
+}
« no previous file with comments | « no previous file | net/proxy/mojo_proxy_resolver_factory_impl.cc » ('j') | net/proxy/proxy_resolver_v8_tracing.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698