diff options
author | eroman@chromium.org <eroman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-25 04:52:39 +0000 |
---|---|---|
committer | eroman@chromium.org <eroman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-25 04:52:39 +0000 |
commit | cd88b0c7cac088f6607b82a9d472a89c2108b893 (patch) | |
tree | 48a9db5a5a114ee5e921d906a579992f5818650c /net/data | |
parent | 237a44a37de4fb8ef9e868d2b8746737c25282a6 (diff) | |
download | chromium_src-cd88b0c7cac088f6607b82a9d472a89c2108b893.zip chromium_src-cd88b0c7cac088f6607b82a9d472a89c2108b893.tar.gz chromium_src-cd88b0c7cac088f6607b82a9d472a89c2108b893.tar.bz2 |
Add an additional unit-test for when PAC script is missing newline.
This variation uses a statement without semi-colon, rather than a comment, as the last line.
BUG=http://crbug.com/22864
Review URL: http://codereview.chromium.org/238004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27171 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/data')
-rw-r--r-- | net/data/proxy_resolver_v8_unittest/ends_with_statement_no_semicolon.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/data/proxy_resolver_v8_unittest/ends_with_statement_no_semicolon.js b/net/data/proxy_resolver_v8_unittest/ends_with_statement_no_semicolon.js new file mode 100644 index 0000000..ea03714 --- /dev/null +++ b/net/data/proxy_resolver_v8_unittest/ends_with_statement_no_semicolon.js @@ -0,0 +1,3 @@ +// Ends with a statement, and no terminal newline. +function FindProxyForURL(url, host) { return "PROXY success:" + x; } +x = 3
\ No newline at end of file |