Changeset 194244 in webkit


Ignore:
Timestamp:
Dec 17, 2015 3:53:51 PM (8 years ago)
Author:
BJ Burg
Message:

Web Inspector: control whether to collect and dump protocol messages using a WebInspector.Setting
https://bugs.webkit.org/show_bug.cgi?id=151635

Reviewed by Joseph Pecoraro.

Follow-up fix to stop double-logging everything.

  • UserInterface/Protocol/LoggingProtocolTracer.js:

(WebInspector.LoggingProtocolTracer.prototype._processEntry):

Location:
trunk/Source/WebInspectorUI
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebInspectorUI/ChangeLog

    r194243 r194244  
     12015-12-17  Brian Burg  <bburg@apple.com>
     2
     3        Web Inspector: control whether to collect and dump protocol messages using a WebInspector.Setting
     4        https://bugs.webkit.org/show_bug.cgi?id=151635
     5
     6        Reviewed by Joseph Pecoraro.
     7
     8        Follow-up fix to stop double-logging everything.
     9
     10        * UserInterface/Protocol/LoggingProtocolTracer.js:
     11        (WebInspector.LoggingProtocolTracer.prototype._processEntry):
     12
    1132015-12-17  Joseph Pecoraro  <pecoraro@apple.com>
    214
  • trunk/Source/WebInspectorUI/UserInterface/Protocol/LoggingProtocolTracer.js

    r193870 r194244  
    119119            else if (entry.timings.dispatch)
    120120                this._logToConsole(`time-stats: Handling: ${entry.timings.dispatch || NaN}ms`);
    121         } else if (this._dumpMessagesToConsole)
     121        } else if (this._dumpMessagesToConsole && !entry.timings)
    122122            this._logToConsole(`${entry.type}: ${entry.message}`);
    123123    }
Note: See TracChangeset for help on using the changeset viewer.