Open
Bug 1982318
Opened 23 days ago
Updated 20 days ago
Make it possible to delete uploaded profiles from about:logging
Categories
(Core :: XPCOM, enhancement, P2)
Core
XPCOM
Tracking
()
ASSIGNED
People
(Reporter: canova, Assigned: canova)
References
(Blocks 1 open bug)
Details
Attachments
(5 files)
Bug 1803607 added a way to upload profiles from about:logging. But currently there is no way to delete them if they are uploaded through about:logging.
We should:
- Save the jwt token that we get from here (we save it in indexeddb in the frontend) That uploadResult is the jwt token that we just discard. We can include some more information from the profile data like we do in the profiler frontend.
- Show a list of "uploaded profiles" in about:logging with a "delete" button on the side.
- Send a request with that jwt token to the profiler server with the delete request (similar to here) when that button is pressed
Assignee | ||
Updated•23 days ago
|
Blocks: about_logging
Assignee | ||
Comment 1•22 days ago
|
||
They were fine in CI, but running them locally was showing some expected
failures about persisting some preferences.
Updated•22 days ago
|
Assignee: nobody → canaltinova
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•22 days ago
|
||
This patch doesn't use the code yet, it just adds the storage logic for
us to use in the following patch.
Assignee | ||
Comment 3•22 days ago
|
||
Assignee | ||
Comment 4•22 days ago
|
||
Updated•22 days ago
|
Attachment #9506613 -
Attachment description: Bug 1982318 - Add profile storage logic for about:logging r?padenot → Bug 1982318 - Add profile storage logic and save the uploaded profiles in about:logging r?padenot
Assignee | ||
Comment 5•20 days ago
|
||
Previously, when we were saving the profile to disk, we getting the
profile path from the localized string. But it appears that due to some
rendering timing issues, the rendered text might not contain the path
yet. But we will always have it inside the data-l10n-args attribute.
That's why it's better to check that directly.
You need to log in
before you can comment on or make changes to this bug.
Description
•