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

Unified Diff: chrome/browser/devtools/frontend/devtools_discovery_page.html

Issue 189233008: DevTools: remove the --remote-debugging-frontend flag. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review comment addressed. Created 6 years, 9 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
Index: chrome/browser/devtools/frontend/devtools_discovery_page.html
diff --git a/chrome/browser/devtools/frontend/devtools_discovery_page.html b/chrome/browser/devtools/frontend/devtools_discovery_page.html
index 5eaf70492fe83bc70e513ac691b62b3dfb5cd683..052935ce46e4d004bc3d659dceb2d5a718de7be0 100644
--- a/chrome/browser/devtools/frontend/devtools_discovery_page.html
+++ b/chrome/browser/devtools/frontend/devtools_discovery_page.html
@@ -82,9 +82,13 @@ body {
</style>
<script>
+
function onLoad() {
var tabsListRequest = new XMLHttpRequest();
- tabsListRequest.open("GET", "/json", true);
+ var jsonListPath = "/json/list";
+ if (window.location.search)
+ jsonListPath += "?" + window.location.search;
+ tabsListRequest.open("GET", jsonListPath, true);
tabsListRequest.onreadystatechange = onReady;
tabsListRequest.send();
}

Powered by Google App Engine
This is Rietveld 408576698