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

Issue 6708030: NetLog: Removes private information from net-internals events tab (Closed)

Created:
9 years, 9 months ago by mmenke
Modified:
9 years, 7 months ago
Reviewers:
eroman
CC:
chromium-reviews, cbentzel+watch_chromium.org, arv (Not doing code reviews), darin-cc_chromium.org, brettw-cc_chromium.org
Visibility:
Public.

Description

NetLog: Removes private information from net-internals events tab when "Exclude private information" is checked on the Dump data tab, to prevent end users accidentally revealing their passwords or other private information. BUG=76689 TEST=manual Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=79594

Patch Set 1 : '' #

Total comments: 4

Patch Set 2 : '' #

Patch Set 3 : License headers updated. Sigh. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+76 lines, -22 lines) Patch
M chrome/browser/resources/net_internals/dataview.js View 1 2 4 chunks +22 lines, -4 lines 0 comments Download
M chrome/browser/resources/net_internals/eventsview.js View 1 2 2 chunks +8 lines, -1 line 0 comments Download
M chrome/browser/resources/net_internals/logviewpainter.js View 1 2 7 chunks +17 lines, -14 lines 0 comments Download
M chrome/browser/resources/net_internals/main.js View 1 2 3 chunks +27 lines, -1 line 0 comments Download
M chrome/browser/resources/net_internals/proxyview.js View 1 2 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
mmenke
There was a case or two of someone pasting data from the events tab with ...
9 years, 9 months ago (2011-03-18 18:30:11 UTC) #1
eroman
LGTM. (sorry for delay, I was out sick last week). http://codereview.chromium.org/6708030/diff/6001/chrome/browser/resources/net_internals/main.js File chrome/browser/resources/net_internals/main.js (right): http://codereview.chromium.org/6708030/diff/6001/chrome/browser/resources/net_internals/main.js#newcode833 ...
9 years, 9 months ago (2011-03-25 04:59:16 UTC) #2
mmenke
9 years, 9 months ago (2011-03-28 14:55:36 UTC) #3
Thanks.  Delay wasn't a problem at all.

http://codereview.chromium.org/6708030/diff/6001/chrome/browser/resources/net...
File chrome/browser/resources/net_internals/main.js (right):

http://codereview.chromium.org/6708030/diff/6001/chrome/browser/resources/net...
chrome/browser/resources/net_internals/main.js:833:
BrowserBridge.prototype.setDoSecurityStripping =
On 2011/03/25 04:59:16, eroman wrote:
> nit: in this and other locations, I suggest dropping the "do" from the name,
it
> feels redundant.
> 
> In other words, just name this setSecurityStripping(), or
> enableSecurityStripping()

Done.  I renamed the bools to "enableSecurityStripping_" and removed the "do"
from function names (setSecurityStripping(), securityStripping()). 
"enableSecurityStripping()" sounds too ambiguous to me, as it could mean
actually enabling it, or getting whether it is enabled, given the variable name.

http://codereview.chromium.org/6708030/diff/6001/chrome/browser/resources/net...
chrome/browser/resources/net_internals/main.js:835: this.doSecurityStripping_ =
doSecurityStripping;
On 2011/03/25 04:59:16, eroman wrote:
> same naming comment applies to variable. Maybe just call this
> enableSecurityStripping_

Done.

Powered by Google App Engine
This is Rietveld 408576698