Bug 117615

Summary: Web Inspector: JS PrettyPrinting Should have space between "do" and "{"
Product: WebKit Reporter: Joseph Pecoraro <joepeck>
Component: Web Inspector (Deprecated)Assignee: Joseph Pecoraro <joepeck>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, graouts, joepeck, timothy
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
[PATCH] Proposed Fix none

Description Joseph Pecoraro 2013-06-13 16:16:43 PDT
JavaScript pretty printing should have a space between "do" and "{".

TEST: do{"x"}while(0);

Saw this on some code in the wild.
Comment 1 Joseph Pecoraro 2013-06-13 16:18:20 PDT
Created attachment 204650 [details]
[PATCH] Proposed Fix

Easy fix. Add a space after "do" like we do for "else".
Comment 2 WebKit Commit Bot 2013-06-13 16:54:35 PDT
Comment on attachment 204650 [details]
[PATCH] Proposed Fix

Clearing flags on attachment: 204650

Committed r151574: <http://trac.webkit.org/changeset/151574>
Comment 3 WebKit Commit Bot 2013-06-13 16:54:37 PDT
All reviewed patches have been landed.  Closing bug.