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

Unified Diff: chrome/browser/resources/net_internals/proxy_view.js

Issue 8890016: Make source_dependencies in about:net-internals clickable. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Fix missed variable name change Created 9 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/net_internals/proxy_view.js
===================================================================
--- chrome/browser/resources/net_internals/proxy_view.js (revision 112998)
+++ chrome/browser/resources/net_internals/proxy_view.js (working copy)
@@ -50,7 +50,7 @@
ProxyView.RELOAD_SETTINGS_BUTTON_ID = 'proxy-view-reload-settings';
ProxyView.BAD_PROXIES_TBODY_ID = 'proxy-view-bad-proxies-tbody';
ProxyView.CLEAR_BAD_PROXIES_BUTTON_ID = 'proxy-view-clear-bad-proxies';
- ProxyView.PROXY_RESOLVER_LOG_PRE_ID = 'proxy-view-resolver-log';
+ ProxyView.PROXY_RESOLVER_LOG_DIV_ID = 'proxy-view-resolver-log';
cr.addSingletonGetter(ProxyView);
@@ -141,8 +141,8 @@
this.latestProxySourceId_ = sourceEntry.getSourceId();
- $(ProxyView.PROXY_RESOLVER_LOG_PRE_ID).innerText =
- sourceEntry.printAsText();
+ $(ProxyView.PROXY_RESOLVER_LOG_DIV_ID).innerHTML = '';
+ sourceEntry.printAsText($(ProxyView.PROXY_RESOLVER_LOG_DIV_ID));
}
},
@@ -153,8 +153,8 @@
// Prevents display of partial logs.
++this.latestProxySourceId_;
- $(ProxyView.PROXY_RESOLVER_LOG_PRE_ID).innerHTML = '';
- $(ProxyView.PROXY_RESOLVER_LOG_PRE_ID).innerText = 'Deleted.';
+ $(ProxyView.PROXY_RESOLVER_LOG_DIV_ID).innerHTML = '';
+ $(ProxyView.PROXY_RESOLVER_LOG_DIV_ID).innerText = 'Deleted.';
},
onSourceEntriesDeleted: function(sourceIds) {
« no previous file with comments | « chrome/browser/resources/net_internals/proxy_view.html ('k') | chrome/browser/resources/net_internals/source_entry.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698