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

Unified Diff: chromecast/app/resources/shell_devtools_discovery_page.html

Issue 936833002: Chromecast: removes chrome-devtools:// protocol from debugging page. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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: chromecast/app/resources/shell_devtools_discovery_page.html
diff --git a/chromecast/app/resources/shell_devtools_discovery_page.html b/chromecast/app/resources/shell_devtools_discovery_page.html
index 09bb9c438a8a13692d9a13df9f7fd6a766042748..f8d69d9523f8009484834aaab00601d5122c2e6a 100644
--- a/chromecast/app/resources/shell_devtools_discovery_page.html
+++ b/chromecast/app/resources/shell_devtools_discovery_page.html
@@ -2,18 +2,6 @@
<head>
<title>Cast shell remote debugging</title>
<style>
- .local-ui-link {
- background-color: #eee;
- border: 1px solid #ccc;
- color: #333;
- display: block;
- font-family: monospace;
- font-size: 11px;
- margin: 4px;
- padding: 4px;
- width: 100%;
- }
-
.help {
font-size: 11px;
}
@@ -50,15 +38,6 @@ function appendItem(metadata) {
frontend_link.textContent = 'Remote Debugging (AppEngine)'
frontend_link.href = metadata.devtoolsFrontendUrl;
item_container.appendChild(frontend_link);
-
- var devtools_protocol_link = document.createElement('textarea');
- devtools_protocol_link.className = 'local-ui-link';
- devtools_protocol_link.value = metadata.devtoolsFrontendUrl.replace(
- "https://chrome-devtools-frontend.appspot.com",
- "chrome-devtools://devtools/remote");
- // Highlight text when clicked.
- devtools_protocol_link.onclick = function() { this.select(); }
- item_container.appendChild(devtools_protocol_link);
} else {
frontend_header.textContent += " (already has active debugging session)";
}
@@ -69,16 +48,9 @@ function appendItem(metadata) {
<h3>Help</h3>
<div id="help">
- Note: there are two debugging options presented for each page above. Either
- is a valid way to initiate a remote debugging session.
- <ul>
- <li>For the first option (link), you may have to select the shield icon in
- the address bar to establish a connection. See the <a
- href="https://support.google.com/chrome/answer/1342714?hl=en">help
- center</a> for more information.</li>
- <li>For the second option (textarea), simply copy/paste the URL into
- Chrome's URL bar.</li>
- </ul>
+ You may have to select the shield icon in the address bar to establish a connection.
+ See the <a href="https://support.google.com/chrome/answer/1342714?hl=en">help
+ center</a> for more information.
</div>
</body>
« 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