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

Side by Side Diff: net/data/proxy_resolver_v8_unittest/ends_with_comment.js

Issue 223016: Fix a bug where if a PAC script ended with a comment and no newline, it would... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: remove unused TryCatch Created 11 years, 2 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | net/proxy/proxy_resolver_v8.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Name: svn:eol-style
+ LF
OLDNEW
(Empty)
1 function FindProxyForURL(url, host) {
2 return "PROXY success:80";
3 }
4
5 // We end the script with a comment (and no trailing newline).
6 // This used to cause problems, because internally ProxyResolverV8
7 // would append some functions to the script; the first line of
8 // those extra functions was being considered part of the comment.
OLDNEW
« no previous file with comments | « no previous file | net/proxy/proxy_resolver_v8.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698