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

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

Issue 6708030: NetLog: Removes private information from net-internals events tab (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 9 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
Index: chrome/browser/resources/net_internals/logviewpainter.js
===================================================================
--- chrome/browser/resources/net_internals/logviewpainter.js (revision 78565)
+++ chrome/browser/resources/net_internals/logviewpainter.js (working copy)
@@ -43,7 +43,7 @@
addTextNode(nobr2, 'Start Time: ' + startDate.toLocaleString());
var pre = addNode(div, 'pre');
- addTextNode(pre, PrintSourceEntriesAsText(logEntries, false));
+ addTextNode(pre, PrintSourceEntriesAsText(logEntries));
}
function canCollapseBeginWithEnd(beginEntry) {
@@ -56,7 +56,7 @@
beginEntry.end.orig.wasPassivelyCaptured;
}
-PrintSourceEntriesAsText = function(sourceEntries, doSecurityStripping) {
+PrintSourceEntriesAsText = function(sourceEntries) {
var entries = LogGroupEntry.createArrayFrom(sourceEntries);
if (entries.length == 0)
return '';
@@ -111,8 +111,9 @@
// Output the extra parameters.
if (entry.orig.params != undefined) {
// Add a continuation row for each line of text from the extra parameters.
- var extraParamsText = getTextForExtraParams(entry.orig,
- doSecurityStripping);
+ var extraParamsText = getTextForExtraParams(
+ entry.orig,
+ g_browser.getDoSecurityStripping());
var extraParamsTextLines = extraParamsText.split('\n');
for (var j = 0; j < extraParamsTextLines.length; ++j) {

Powered by Google App Engine
This is Rietveld 408576698