Summary: | Inspector's Console truncates long strings | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | David Raso <rasod> | ||||
Component: | Web Inspector (Deprecated) | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | Keywords: | InRadar | ||||
Priority: | P2 | ||||||
Version: | 523.x (Safari 3) | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Attachments: |
|
Description
David Raso
2007-06-22 14:17:07 PDT
We should have a way to click or toggle the truncation for each output. We truncate to prevent flooding the console incase the result was longer than the user expected. Maybe the default truncation length could be extended too. I actually never meant the output to be truncated when implementing the Console (it just came along for free with using Object.describe). But I agree that it's a good idea not to flood the console if, for example, the user types "document.body.innerHTML" on a large page. Firebug doesn't truncate the output, but I think we can do better here. Created attachment 19070 [details]
patch with changelog
Comment on attachment 19070 [details]
patch with changelog
I should note that this patch does nothing to prevent flooding the console with a long string, since that was easier and matches Firebug's behavior.
Comment on attachment 19070 [details]
patch with changelog
The one change I proposed to Adam on IRC was to remove some of the _format functions that all do the same thing. r=me.
|