net-internals: hide 'original proxy' if equal to effective proxy
commit9af6d639460e0631c2b078397373445fbe2b67b9
authorellyjones@chromium.org <ellyjones@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 20 Nov 2013 04:12:48 +0000 (20 04:12 +0000)
committerellyjones@chromium.org <ellyjones@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 20 Nov 2013 04:12:48 +0000 (20 04:12 +0000)
tree8868c9bf053a04d75880cf90281fc6a44d253c67
parentf006eedf680ba1bbd40d9fb06375696bc47fcc36
net-internals: hide 'original proxy' if equal to effective proxy

When both are equal the display is somewhat visually noisy, so hide the original
proxy div if the strings are equal and show it again when they begin to differ.
You can test this by pressing 'reapply' on the proxy page, which will
temporarily cause the original and effective proxy to differ.

BUG=235998
TEST=adhoc

Review URL: https://codereview.chromium.org/61953004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@236137 0039d316-1c4b-4281-b951-d872f2087c98
chrome/browser/resources/net_internals/proxy_view.html
chrome/browser/resources/net_internals/proxy_view.js