Bug 100970 - Web Inspector: Console: wrap long URLs
Summary: Web Inspector: Console: wrap long URLs
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-01 10:11 PDT by Nikita Vasilyev
Modified: 2012-11-06 03:54 PST (History)
10 users (show)

See Also:


Attachments
before/after image (4.27 KB, image/png)
2012-11-01 10:11 PDT, Nikita Vasilyev
no flags Details
Patch (948 bytes, patch)
2012-11-01 10:14 PDT, Nikita Vasilyev
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.