Closed
Bug 1840935
Opened 2 years ago
Closed 2 years ago
Stop using isGeneratedId/isOriginalId in favor of source.isOriginal
Categories
(DevTools :: Debugger, task)
DevTools
Debugger
Tracking
(firefox117 fixed)
RESOLVED
FIXED
117 Branch
| Tracking | Status | |
|---|---|---|
| firefox117 | --- | fixed |
People
(Reporter: ochameau, Assigned: ochameau)
References
Details
Attachments
(3 files)
There is quite a few callsites still using isGeneratedId(sourceId) and isOriginalId(sourceId) whereas we can query source.isOriginal attribute to make the distinction.
It will be faster as that's a boolean instead of a string comparison.
| Assignee | ||
Comment 1•2 years ago
|
||
This will help then get rid of isGeneratedId(sourceId).
| Assignee | ||
Comment 2•2 years ago
|
||
| Assignee | ||
Comment 3•2 years ago
|
||
Updated•2 years ago
|
Assignee: nobody → poirot.alex
Status: NEW → ASSIGNED
Pushed by apoirot@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/5203cc3299d3
[devtools] Migrate getBreakpointForSource from sourceId to source. r=devtools-reviewers,bomsy
https://hg.mozilla.org/integration/autoland/rev/e2d4ccb61381
[devtools] Move from isGeneratedId(source.id) to !source.isOriginal. r=devtools-reviewers,bomsy
https://hg.mozilla.org/integration/autoland/rev/532ac41f7d99
[devtools] Move from isOriginalId(source.id) to !source.isOriginal. r=devtools-reviewers,bomsy
Comment 5•2 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/5203cc3299d3
https://hg.mozilla.org/mozilla-central/rev/e2d4ccb61381
https://hg.mozilla.org/mozilla-central/rev/532ac41f7d99
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
status-firefox117:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 117 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•