Index: webkit/tools/test_shell/test_webview_delegate.cc |
=================================================================== |
--- webkit/tools/test_shell/test_webview_delegate.cc (revision 66618) |
+++ webkit/tools/test_shell/test_webview_delegate.cc (working copy) |
@@ -224,7 +224,7 @@ |
domain = "NSURLErrorDomain"; |
switch (error.reason) { |
case net::ERR_ABORTED: |
- code = -999; |
+ code = -999; // NSURLErrorCancelled |
break; |
case net::ERR_UNSAFE_PORT: |
// Our unsafe port checking happens at the network stack level, but we |
@@ -234,7 +234,8 @@ |
break; |
case net::ERR_ADDRESS_INVALID: |
case net::ERR_ADDRESS_UNREACHABLE: |
- code = -1004; |
+ case net::ERR_NETWORK_ACCESS_DENIED: |
+ code = -1004; // NSURLErrorCannotConnectToHost |
break; |
} |
} else { |