Summary: | Web Inspector: add debugging flag to InspectorTest for unbuffered logging to stderr | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Brian Burg <burg> | ||||
Component: | Web Inspector | Assignee: | Brian Burg <burg> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | graouts, joepeck, mattbaker, timothy, webkit-bug-importer | ||||
Priority: | P2 | Keywords: | InRadar | ||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Attachments: |
|
Description
Brian Burg
2014-08-07 14:59:28 PDT
Created attachment 236238 [details]
Patch
I decided to not guard this with !LOG_DISABLED, since debug builds often crash for dumb reasons and will additionally spew whatever WebCoreLogging you may have enabled. I also couldn't figure out how to conditionalize the method in InspectorFrontendHost.idl. Comment on attachment 236238 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=236238&action=review > Source/WebInspectorUI/UserInterface/Base/Test.js:138 > + if (InspectorTest.dumpMessagesToConsole && InspectorFrontendHost.unbufferedLog) Do we need to test InspectorFrontendHost.unbufferedLog? (In reply to comment #4) > (From update of attachment 236238 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=236238&action=review > > > Source/WebInspectorUI/UserInterface/Base/Test.js:138 > > + if (InspectorTest.dumpMessagesToConsole && InspectorFrontendHost.unbufferedLog) > > Do we need to test InspectorFrontendHost.unbufferedLog? I guess we do control who the InspectorFrontendHost really is during testing, so this could be removed. Committed r172355: <http://trac.webkit.org/changeset/172355> |