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

Side by Side Diff: content/shell/shell_devtools_discovery_page.html

Issue 11591016: DevTools: allow query parameters and fragments in remote debugging command urls. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Lint Created 8 years 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 unified diff | Download patch
« no previous file with comments | « content/browser/debugger/devtools_http_handler_impl.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <title>Content shell remote debugging</title> 3 <title>Content shell remote debugging</title>
4 <style> 4 <style>
5 </style> 5 </style>
6 6
7 <script> 7 <script>
8 function onLoad() { 8 function onLoad() {
9 var tabs_list_request = new XMLHttpRequest(); 9 var tabs_list_request = new XMLHttpRequest();
10 tabs_list_request.open("GET", "/json" + new Date().getTime(), true); 10 tabs_list_request.open("GET", "/json/list?t=" + new Date().getTime(), true);
11 tabs_list_request.onreadystatechange = onReady; 11 tabs_list_request.onreadystatechange = onReady;
12 tabs_list_request.send(); 12 tabs_list_request.send();
13 } 13 }
14 14
15 function onReady() { 15 function onReady() {
16 if(this.readyState == 4 && this.status == 200) { 16 if(this.readyState == 4 && this.status == 200) {
17 if(this.response != null) 17 if(this.response != null)
18 var responseJSON = JSON.parse(this.response); 18 var responseJSON = JSON.parse(this.response);
19 for (var i = 0; i < responseJSON.length; ++i) 19 for (var i = 0; i < responseJSON.length; ++i)
20 appendItem(responseJSON[i]); 20 appendItem(responseJSON[i]);
(...skipping 24 matching lines...) Expand all
45 45
46 document.getElementById("items").appendChild(item); 46 document.getElementById("items").appendChild(item);
47 } 47 }
48 </script> 48 </script>
49 </head> 49 </head>
50 <body onload='onLoad()'> 50 <body onload='onLoad()'>
51 <div id='caption'>Inspectable WebContents</div> 51 <div id='caption'>Inspectable WebContents</div>
52 <div id='items'></div> 52 <div id='items'></div>
53 </body> 53 </body>
54 </html> 54 </html>
OLDNEW
« no previous file with comments | « content/browser/debugger/devtools_http_handler_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698