Closed
Bug 1600599
Opened 6 years ago
Closed 6 years ago
Code coverage link in Other Tools is broken when a line is selected
Categories
(Webtools :: Searchfox, defect)
Webtools
Searchfox
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: jdescottes, Assigned: emilio)
References
Details
Attachments
(1 file)
STRs:
- open https://searchfox.org/mozilla-central/source/devtools/server/actors/targets/frame.js#53
- click on "Code Coverage"
The page navigates to https://coverage.moz.tools/#revision=latest&path=devtools/server/actors/targets/frame.js&view=file#53 which shows Invalid view : file#53.
The link should be https://coverage.moz.tools/#revision=latest&path=devtools/server/actors/targets/frame.js&view=file&line=53 (#53 -> &line=53)
| Reporter | ||
Updated•6 years ago
|
Summary: Code coverage link in Other Tools is broken → Code coverage link in Other Tools is broken when a line is selected
| Assignee | ||
Comment 2•6 years ago
|
||
| Assignee | ||
Comment 3•6 years ago
|
||
It works now, but there's a gotcha, which is that file lines in the coverage link are zero-indexed, which means that we always go to the next line... Marco, I think lines being zero-indexed is pretty weird, maybe that could be fixed in coverage.moz.tools?
Status: NEW → RESOLVED
Closed: 6 years ago
Flags: needinfo?(mcastelluccio)
Resolution: --- → FIXED
Comment 4•6 years ago
|
||
Yes, I've filed https://github.com/mozilla/code-coverage/issues/316.
Flags: needinfo?(mcastelluccio)
You need to log in
before you can comment on or make changes to this bug.
Description
•