firefox-devtools/profiler
Clean up the fallback label code for FileIO markers
Open
#3,131 opened on Jan 15, 2021
code maintenancehelp wantedmarkersneeds gecko patch
Repository metrics
- Stars
- (1,515 stars)
- PR merge metrics
- (PR metrics pending)
Description
In the following code, we have some fallback code dedicated to FileIO markers: https://github.com/firefox-devtools/profiler/blob/c87e4e9127aa1f2e423dd81712cc4f829cf24e6f/src/profile-logic/marker-schema.js#L279-L289
This doesn't seem necessary nowadays as this could be implemented as a schema. The work here is:
- implement in gecko the schema that does this. (or check that it's implemented)
- remove the aforementioned fallback code
- add migration steps to both gecko and processed profile versioning to add the data to marker schemas from older profiles.
- possibly add tests if there's some missing for this case
┆Issue is synchronized with this Jira Task