Closed
Bug 584672
Opened 14 years ago
Closed 12 years ago
JSTerm evaluation output needs truncation
Categories
(DevTools :: Console, defect)
DevTools
Console
Tracking
(blocking2.0 -)
RESOLVED
FIXED
Firefox 19
Tracking | Status | |
---|---|---|
blocking2.0 | --- | - |
People
(Reporter: msucan, Assigned: msucan)
References
Details
(Keywords: uiwanted, Whiteboard: [console-1][fixed by bug 787981])
Attachments
(1 file)
199.72 KB,
image/png
|
Details |
At the moment, the result of the evaluation of any expression is not truncated, which can lead to really big results being displayed in the WebConsole output. We need to limit the output for each result. To reproduce: - Open www.robodesign.ro - Open the WebConsole - Type in the input: wf2_datalist - Press Enter. Expected result: I see a line or two from the wf2_datalist function source. Actual result: The entire function source code is displayed. I attached a screenshot to show how the result is displayed.
Assignee | ||
Updated•14 years ago
|
blocking2.0: --- → ?
Comment 1•14 years ago
|
||
Sucks if you actually want to see the full output instead of the cauterized form, though.
Assignee | ||
Comment 2•14 years ago
|
||
(In reply to comment #1) > Sucks if you actually want to see the full output instead of the cauterized > form, though. True, but for that there's bug 573103. Once that is done, I presume we will be able to click on evaluation results to see the complete output if we desire.
Comment 3•14 years ago
|
||
This is not a blocker - doesn't break or regress primary browser features. I'm also not convinced truncation is desirable. I'd prefer immediate access to the output and scrolling through it, over truncation and having to click to see.
blocking2.0: ? → -
Comment 4•14 years ago
|
||
(In reply to comment #3) > This is not a blocker - doesn't break or regress primary browser features. > > I'm also not convinced truncation is desirable. I'd prefer immediate access to > the output and scrolling through it, over truncation and having to click to > see. Agreed, however, it may eventually be something that is confugrable, as some JSD objects will no doubt be immense. Back burner for sure.
Comment 5•14 years ago
|
||
This bug makes me think we need pretty printed JS outputted to the console more than truncation - although truncation is a good idea if used via a pref.
Updated•13 years ago
|
Whiteboard: [console-1]
Updated•12 years ago
|
Component: Developer Tools → Developer Tools: Console
QA Contact: developer.tools → developer.tools.console
Comment 7•12 years ago
|
||
This is likely to be fixed by inline object inspection. However might still be a problem for strings such as document.body.innerHTML
Assignee | ||
Comment 8•12 years ago
|
||
After a loong time. :)
Assignee: nobody → mihai.sucan
Status: NEW → ASSIGNED
Depends on: 787981
Whiteboard: [console-1] → [console-1][fixed when bug 787981 lands]
Assignee | ||
Updated•12 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Whiteboard: [console-1][fixed when bug 787981 lands] → [console-1][fixed by bug 787981]
Target Milestone: --- → Firefox 19
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•