Bug 97579

Summary: Web Inspector: Fix logging in pure protocol test harness
Product: WebKit Reporter: Peter Rybin <prybin>
Component: Web Inspector (Deprecated)Assignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: apavlov, bweinstein, gyuyoung.kim, joepeck, keishi, loislo, mifenton, pfeldman, pmuellr, rakuco, rik, rwlbuis, timothy, webkit.review.bot, yurys
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch for most of platforms none

Description Peter Rybin 2012-09-25 11:02:11 PDT
1. InspectorTest.log needs proper special symbol escaping.
2. A flushable logging means must be provided that survives crashes and timeout kill of DumpRenderTree.
Comment 1 Peter Rybin 2012-09-25 11:27:28 PDT
Created attachment 165646 [details]
Patch for most of platforms
Comment 2 Yury Semikhatsky 2012-09-25 22:48:31 PDT
Comment on attachment 165646 [details]
Patch for most of platforms

View in context: https://bugs.webkit.org/attachment.cgi?id=165646&action=review

> LayoutTests/http/tests/inspector-protocol/resources/protocol-test.js:33
> +    alert(text);

console.log() should also print a message to stdout in the tests but it would add messages to the inspector which might be undesirable in some protocol tests, so I guess alert should be fine here.
Comment 3 WebKit Review Bot 2012-09-25 22:57:52 PDT
Comment on attachment 165646 [details]
Patch for most of platforms

Clearing flags on attachment: 165646

Committed r129595: <http://trac.webkit.org/changeset/129595>
Comment 4 WebKit Review Bot 2012-09-25 22:57:57 PDT
All reviewed patches have been landed.  Closing bug.