Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(32)

Unified Diff: chrome/browser/resources/inspect/inspect.js

Issue 137993016: Allow to forward all ports to mobile device on chrome://inspect page. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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() {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698