diff options
author | gunsch <gunsch@chromium.org> | 2015-02-18 12:35:26 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-02-18 20:36:01 +0000 |
commit | 5e40b4d70c5f26808881badfbe6e0c0fea9cccc3 (patch) | |
tree | 0dc6045a4551f6c4b9cff071af1eb3ed110e278c /chromecast/app | |
parent | 19c01ac0d65560febf3d2ea5e843ff8a94afb694 (diff) | |
download | chromium_src-5e40b4d70c5f26808881badfbe6e0c0fea9cccc3.zip chromium_src-5e40b4d70c5f26808881badfbe6e0c0fea9cccc3.tar.gz chromium_src-5e40b4d70c5f26808881badfbe6e0c0fea9cccc3.tar.bz2 |
Chromecast: removes chrome-devtools:// protocol from debugging page.
R=lcwu@chromium.org
BUG=458727
Review URL: https://codereview.chromium.org/936833002
Cr-Commit-Position: refs/heads/master@{#316885}
Diffstat (limited to 'chromecast/app')
-rw-r--r-- | chromecast/app/resources/shell_devtools_discovery_page.html | 34 |
1 files changed, 3 insertions, 31 deletions
diff --git a/chromecast/app/resources/shell_devtools_discovery_page.html b/chromecast/app/resources/shell_devtools_discovery_page.html index 09bb9c4..f8d69d9 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> |