Clearing Site Data fails with LSNG if the user has quota storage for about:pages
Categories
(Toolkit :: Data Sanitization, defect, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr60 | --- | unaffected |
firefox66 | --- | unaffected |
firefox67 | --- | disabled |
firefox68 | + | verified |
People
(Reporter: johannh, Assigned: tt)
References
(Blocks 2 open bugs)
Details
(Keywords: regression)
Attachments
(1 file)
I was trying to remove individual site data in about:preferences -> Cookies and Site Data -> Manage Data and it failed with this error:
NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIURI.host]
This is because https://searchfox.org/mozilla-central/rev/aae527894a97ee3bbe0c2cfce9c67c59e8b8fcb9/toolkit/components/cleardata/ClearDataService.jsm#386 is accessing the .host
attribute of about:newtab
, in my case.
At the very least we should filter out about: URIs here, but I'm also wondering what this entire block's purpose is:
I'm pretty sure that this comment is not accurate. Jan, do you remember why this was done?
[Tracking Requested - why for this release]:
Most users can't remove individual site data anymore.
Comment 1•5 years ago
|
||
Tracking for 67, it would be good to have a fix before the merge to beta next Monday.
Updated•5 years ago
|
Updated•5 years ago
|
Selected storage items appear to be removed from disk in my experience, the Manage Cookies and Site Data
panel doesn't close though which is confusing and the preferences page has to be refreshed to see the changes.
Comment 6•5 years ago
|
||
I ma moving the tracking flag to 68 as LSNG won't ship in 67.
Updated•5 years ago
|
Assignee | ||
Comment 8•5 years ago
|
||
Sure
Assignee | ||
Comment 9•5 years ago
|
||
Note that the internal origins like "about:xxx" won't be collected by listInitializedOrigins()
so the minimum requirement has been down.
I'm looking into the behavior of Cookie and Quota stuff. They should be removed together while removing any given origins.
Assignee | ||
Comment 10•5 years ago
|
||
(In reply to Tom Tung [:tt, :ttung] from comment #9)
Note that the internal origins like "about:xxx" won't be collected by
listInitializedOrigins()
so the minimum requirement has been down.
In fact, about:newtab
doesn't be treated as an internal origin now.
Assignee | ||
Comment 11•5 years ago
|
||
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Comment 12•5 years ago
|
||
Pushed by shes050117@gmail.com: https://hg.mozilla.org/integration/autoland/rev/9437ce7f56f1 Capture and ignore the exception for not having a host from a principal URI; r=janv,johannh
Comment 13•5 years ago
|
||
bugherder |
Assignee | ||
Comment 14•5 years ago
|
||
Hi Kestrel,
Would you mind helping me to verify if the problem is fixed by testing the latest Nightly? It works on my laptop and I believe the problem is resolved.
Comment 15•5 years ago
|
||
I can verify this is fixed on Nightly 68.0a1 (2019-05-14) using a profile that has about:newtab
storage, the Manage Cookies and Site Data
dialog correctly closes after removing a storage item and there is no error in browser console.
Assignee | ||
Comment 16•5 years ago
|
||
(In reply to Kestrel from comment #15)
I can verify this is fixed on Nightly 68.0a1 (2019-05-14) using a profile that has
about:newtab
storage, theManage Cookies and Site Data
dialog correctly closes after removing a storage item and there is no error in browser console.
Thanks!
Updated•5 years ago
|
Description
•