Open Bug 853783 Opened 11 years ago Updated 2 years ago

Very long (JS) lines show up empty in View Source

Categories

(Toolkit :: View Source, defect)

21 Branch
x86_64
Windows 7
defect

Tracking

()

People

(Reporter: djc, Unassigned)

Details

In an internal web app, we show charts which we fill up from JSON data. In this case, we sometimes embed the JSON contents in JS code in a <script> tag. For one such case, the JSON string is 4673746 bytes long, and it's preceded by something like '"\t\tvar data = ";'. If I View Source on this page, the line shows up as empty, (though it does show up and get line numbered!). If I enable word-wrapping, contents of the line are shown.

This can be very confusing.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.