Index: chrome/browser/resources/inspect/inspect.js |
=================================================================== |
--- chrome/browser/resources/inspect/inspect.js (revision 244848) |
+++ chrome/browser/resources/inspect/inspect.js (working copy) |
@@ -710,7 +710,7 @@ |
if (!match) |
return false; |
var port = parseInt(match[1]); |
- if (port < 1024 || 10000 < port) |
+ if (port < 1024 || 65535 < port) |
return false; |
var inputs = document.querySelectorAll('input.port:not(.invalid)'); |
@@ -728,7 +728,7 @@ |
if (!match) |
return false; |
var port = parseInt(match[2]); |
- return port <= 10000; |
+ return port <= 65535; |
} |
function createEmptyConfigLine() { |