Bug 53162

Summary: Web Inspector: visualize \n in strings as ↵ in stack variables sidebar.
Product: WebKit Reporter: Pavel Feldman <pfeldman>
Component: Web Inspector (Deprecated)Assignee: Pavel Feldman <pfeldman>
Status: RESOLVED FIXED    
Severity: Normal CC: apavlov, bweinstein, joepeck, keishi, loislo, pfeldman, pmuellr, rik, timothy, yurys
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
[PATCH] Proposed change. yurys: review+

Pavel Feldman
Reported 2011-01-25 23:33:54 PST
Upstreamed from crbug.com/32855.
Attachments
[PATCH] Proposed change. (1.59 KB, patch)
2011-01-26 08:38 PST, Pavel Feldman
yurys: review+
Patrick Mueller
Comment 1 2011-01-26 06:45:34 PST
Great idea. Perhaps some others as well, like tab as → (right pointing arrow)
Pavel Feldman
Comment 2 2011-01-26 08:38:14 PST
Created attachment 80197 [details] [PATCH] Proposed change.
Yury Semikhatsky
Comment 3 2011-01-26 09:03:31 PST
Comment on attachment 80197 [details] [PATCH] Proposed change. View in context: https://bugs.webkit.org/attachment.cgi?id=80197&action=review > Source/WebCore/inspector/front-end/ObjectPropertiesSection.js:186 > + description = description.replace(/\n/g, "\u21B5"); A short comment would be helpful here.
Joseph Pecoraro
Comment 4 2011-01-26 09:10:51 PST
Comment on attachment 80197 [details] [PATCH] Proposed change. View in context: https://bugs.webkit.org/attachment.cgi?id=80197&action=review >> Source/WebCore/inspector/front-end/ObjectPropertiesSection.js:186 >> + description = description.replace(/\n/g, "\u21B5"); > > A short comment would be helpful here. yurys++
Pavel Feldman
Comment 5 2011-01-26 09:19:35 PST
Committing to http://svn.webkit.org/repository/webkit/trunk ... M Source/WebCore/ChangeLog M Source/WebCore/inspector/front-end/ObjectPropertiesSection.js Committed r76692
Note You need to log in before you can comment on or make changes to this bug.