Chromium Code Reviews| Index: webkit/support/webkit_support.cc |
| =================================================================== |
| --- webkit/support/webkit_support.cc (revision 66319) |
| +++ webkit/support/webkit_support.cc (working copy) |
| @@ -464,6 +464,7 @@ |
| domain = "NSURLErrorDomain"; |
| switch (error.reason) { |
| case net::ERR_ABORTED: |
| + // NSURLErrorCancelled |
|
wtc
2010/11/17 22:08:30
Nit: I'd prefer that you put these comments after
|
| code = -999; |
| break; |
| case net::ERR_UNSAFE_PORT: |
| @@ -474,6 +475,8 @@ |
| break; |
| case net::ERR_ADDRESS_INVALID: |
| case net::ERR_ADDRESS_UNREACHABLE: |
| + case net::ERR_NETWORK_ACCESS_DENIED: |
| + // NSURLErrorCannotConnectToHost |
| code = -1004; |
| break; |
| } |