Closed
Bug 1747816
Opened 2 years ago
Closed 2 years ago
Converge to a unique way to designate original source in debugger frontend
Categories
(DevTools :: Debugger, task)
DevTools
Debugger
Tracking
(firefox98 fixed)
RESOLVED
FIXED
98 Branch
Tracking | Status | |
---|---|---|
firefox98 | --- | fixed |
People
(Reporter: ochameau, Assigned: ochameau)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
Bug 1603283 introduced isOriginal
attribute on all reducer's source objects.
And since then, we started using it here and there:
https://searchfox.org/mozilla-central/search?q=source.isOriginal&path=&case=false®exp=false
But this is now redundant with the two other old helpers:
- isOriginal:
https://searchfox.org/mozilla-central/rev/e74a8e2d1dedebfe47a6afb009ddabdeea12694b/devtools/client/debugger/src/utils/source.js#488-492 - isOriginalSource:
https://searchfox.org/mozilla-central/rev/e74a8e2d1dedebfe47a6afb009ddabdeea12694b/devtools/client/debugger/src/utils/source-maps.js#82-92
Let's try to strick to use the isOriginal
attribute everywhere.
Assignee | ||
Comment 1•2 years ago
|
||
"original" here refers to not being generated.
It overlaps with pretty printed sources, which are considered as original sources.
Pushed by apoirot@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d00b5ccb5aed [devtools] Always use reducer's source's `isOriginal` attribute to know if a source is an original one. r=bomsy
Comment 3•2 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 2 years ago
status-firefox98:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 98 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•