Closed
Bug 1778947
Opened 3 years ago
Closed 3 years ago
Compute source's file extension only once.
Categories
(DevTools :: Debugger, enhancement)
DevTools
Debugger
Tracking
(firefox104 fixed)
RESOLVED
FIXED
104 Branch
| Tracking | Status | |
|---|---|---|
| firefox104 | --- | fixed |
People
(Reporter: ochameau, Assigned: ochameau)
References
Details
Attachments
(1 file)
For now, we recompute the source's file extension an handful times:
https://searchfox.org/mozilla-central/search?q=getFileExtension%28&case=true&path=debugger%2F
It would be nice to compute this only once. source.displayURL may be a good placeholder for it.
Also in 1777203, getFileExtension would be the only function still used from utils/sources-tree/ folder!
| Assignee | ||
Comment 1•3 years ago
|
||
Updated•3 years ago
|
Assignee: nobody → poirot.alex
Status: NEW → ASSIGNED
Pushed by apoirot@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/3c37b03ac903
[devtools] Compute source file extension once in its displayURL. r=bomsy
Comment 3•3 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
status-firefox104:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 104 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•