Index: chrome/browser/resources/net_internals/main.js |
diff --git a/chrome/browser/resources/net_internals/main.js b/chrome/browser/resources/net_internals/main.js |
index 6a649a219506d8e51107ffbcbdac407bc3ae3e59..05e9e7b9bac56b43a149f9b5e771fc14542a312c 100644 |
--- a/chrome/browser/resources/net_internals/main.js |
+++ b/chrome/browser/resources/net_internals/main.js |
@@ -348,10 +348,7 @@ function areValidConstants(receivedConstants) { |
* @return {string} The name of the given error. |
*/ |
function netErrorToString(netError) { |
- var str = getKeyWithValue(NetError, netError); |
- if (str == '?') |
- return str; |
- return 'ERR_' + str; |
+ return getKeyWithValue(NetError, netError); |
} |
/** |