| Index: webkit/tools/test_shell/test_webview_delegate.cc
|
| ===================================================================
|
| --- webkit/tools/test_shell/test_webview_delegate.cc (revision 66319)
|
| +++ webkit/tools/test_shell/test_webview_delegate.cc (working copy)
|
| @@ -224,6 +224,7 @@
|
| domain = "NSURLErrorDomain";
|
| switch (error.reason) {
|
| case net::ERR_ABORTED:
|
| + // NSURLErrorCancelled
|
| code = -999;
|
| break;
|
| case net::ERR_UNSAFE_PORT:
|
| @@ -234,6 +235,8 @@
|
| break;
|
| case net::ERR_ADDRESS_INVALID:
|
| case net::ERR_ADDRESS_UNREACHABLE:
|
| + case net::ERR_NETWORK_ACCESS_DENIED:
|
| + // NSURLErrorCannotConnectToHost
|
| code = -1004;
|
| break;
|
| }
|
|
|