Closed Bug 1307952 Opened 10 years ago Closed 9 years ago

Revisit location string cropping

Categories

(DevTools :: Console, enhancement, P2)

enhancement

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: linclark, Unassigned)

Details

(Whiteboard: new-console)

Originally posted by:linclark see https://github.com/devtools-html/gecko-dev/issues/285 Currently, if there is a long string for a location, it is cropped in a not-helpful way. For example: ``` http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-tempfile.js?key=Reference%20Error:3:5 ``` is cropped to ``` http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generato ``` I think we should introduce elipses in the middle of the URI and show the col/line numbers.
Priority: -- → P2
Whiteboard: new-console
Verified on the new console, already implemented
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WORKSFORME
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.