Bug 100970

Summary: Web Inspector: Console: wrap long URLs
Product: WebKit Reporter: Nikita Vasilyev <me>
Component: Web Inspector (Deprecated)Assignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: apavlov, keishi, loislo, mkwst, pfeldman, pmuellr, vsevik, web-inspector-bugs, webkit.review.bot, yurys
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
before/after image
none
Patch none

Description Nikita Vasilyev 2012-11-01 10:11:14 PDT
Created attachment 171885 [details]
before/after image

Test case: http://elv1s.ru/x/long-js-filename-test.html
Comment 1 Nikita Vasilyev 2012-11-01 10:14:31 PDT
Created attachment 171886 [details]
Patch
Comment 2 WebKit Review Bot 2012-11-06 00:03:04 PST
Comment on attachment 171886 [details]
Patch

Clearing flags on attachment: 171886

Committed r133568: <http://trac.webkit.org/changeset/133568>
Comment 3 WebKit Review Bot 2012-11-06 00:03:08 PST
All reviewed patches have been landed.  Closing bug.
Comment 4 Mike West 2012-11-06 01:58:12 PST
Thanks for poking at this!

In a followup patch, can we change this behavior to match the trimming we're doing for URLs inside console messages? That is, I'd prefer to see the middle trimmed out of the URL, rather than wrapping a URL through multiple lines. This is especially the case for data URLs, which can be ginormous.
Comment 5 Vsevolod Vlasov 2012-11-06 03:54:40 PST
I agree that we should do that.