summaryrefslogtreecommitdiffstats
path: root/net/data/proxy_resolver_v8_unittest/ends_with_comment.js
blob: bbfef8561d2889477e4c98d578d91ca430629ff1 (plain)
1
2
3
4
5
6
7
8
function FindProxyForURL(url, host) {
  return "PROXY success:80";
}

// We end the script with a comment (and no trailing newline).
// This used to cause problems, because internally ProxyResolverV8
// would append some functions to the script; the first line of
// those extra functions was being considered part of the comment.