Bug 142428

Summary: Web Inspector: JS Pretty Printing: "case" or "default" outside of switch causes unbalanced indentation
Product: WebKit Reporter: Joseph Pecoraro <joepeck>
Component: Web InspectorAssignee: Joseph Pecoraro <joepeck>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, graouts, joepeck, jonowells, mattbaker, nvasilyev, timothy, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
[PATCH] Proposed Fix none

Joseph Pecoraro
Reported 2015-03-06 20:11:37 PST
* SUMMARY JS Pretty Printing: "case" or "default" outside of switch causes unbalanced indentation. It breaks indentation of the rest of the file. * TEST function(){this.default;this.other;} * EXPECTED function(){ this.default; this.other; } * ACTUAL function(){ this.default; this.other; }
Attachments
[PATCH] Proposed Fix (4.20 KB, patch)
2015-03-06 20:13 PST, Joseph Pecoraro
no flags
Radar WebKit Bug Importer
Comment 1 2015-03-06 20:12:09 PST
Joseph Pecoraro
Comment 2 2015-03-06 20:13:22 PST
Created attachment 248136 [details] [PATCH] Proposed Fix
WebKit Commit Bot
Comment 3 2015-03-06 22:11:03 PST
Comment on attachment 248136 [details] [PATCH] Proposed Fix Clearing flags on attachment: 248136 Committed r181205: <http://trac.webkit.org/changeset/181205>
WebKit Commit Bot
Comment 4 2015-03-06 22:11:08 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.