Profile Manager cannot remove the profile that contains a directory with a trailing dot
Categories
(Toolkit :: Startup and Profile System, defect, P2)
Tracking
()
People
(Reporter: tt, Unassigned)
References
Details
Attachments
(2 files)
- Visit the site with a trailing dot and using DOM Storage.
- Remove the profile in about:profiles
Actual:
There is no warning or error shows up but the profile is not removed
Expect:
The profile should be removed
The fix should probably be done by using the prefix \\?\
or using QMS's API for https://searchfox.org/mozilla-central/source/toolkit/profile/nsIToolkitProfile.idl#85
Reporter | ||
Updated•4 years ago
|
Reporter | ||
Comment 1•4 years ago
|
||
We also need to check if other operation in ProfileManager would be affected as well.
Reporter | ||
Comment 2•4 years ago
|
||
Reporter | ||
Comment 3•4 years ago
|
||
Reporter | ||
Comment 4•4 years ago
|
||
I will need to check other APIs that access the profiles and check if we can have a test.
Reporter | ||
Comment 5•4 years ago
|
||
I'm not sure if I can easily write a test for that.
Also, there is another file access to profile dir: https://searchfox.org/mozilla-central/source/toolkit/xre/ProfileReset.h#54
That makes me consider using \\?\
for ProfileManager.
However, I want to avoid deploying \\?\
prefix to other modules at the moment if possible. We should only do that when we have more confidence (given that we only ship the prefix to the release users for a month and there are bugs related to \\?\
).
Updated•4 years ago
|
Updated•4 years ago
|
Reporter | ||
Comment 6•4 years ago
|
||
Depends on D81302
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Reporter | ||
Updated•4 years ago
|
Reporter | ||
Comment 7•4 years ago
|
||
Reporter | ||
Comment 8•4 years ago
|
||
try for the first patch: https://treeherder.mozilla.org/#/jobs?repo=try&revision=2f7522610f188ecffe00c237d3633b3dcfe726ec
If it looks good, I will push that patch into m-c.
Comment 9•3 years ago
|
||
The bug assignee didn't login in Bugzilla in the last 7 months.
:mossop, could you have a look please?
For more information, please visit auto_nag documentation.
Updated•3 years ago
|
Updated•2 years ago
|
Comment 10•2 years ago
|
||
The bug assignee is inactive on Bugzilla, so the assignee is being reset.
Description
•