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)

task

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&regexp=false
But this is now redundant with the two other old helpers:

Let's try to strick to use the isOriginal attribute everywhere.

"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
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 98 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: