Open
Bug 1704960
Opened 4 years ago
ProfilerStringView could offer truncating APIs
Categories
(Core :: Gecko Profiler, task, P3)
Core
Gecko Profiler
Tracking
()
NEW
People
(Reporter: mozbugz, Unassigned)
Details
In some situations the user may want to make sure a string is not too big when given to the profiler (e.g., a URL in a marker), and since ProfilerStringView
is similar to a Span
, it should be possible and easy to truncate long strings on the fly during serialization to the buffer, and maybe even add an ellipsis.
You need to log in
before you can comment on or make changes to this bug.
Description
•