Allow WebExtensions to clear cache and pluginData by hostname
Categories
(WebExtensions :: General, enhancement, P1)
Tracking
(firefox78 fixed)
Tracking | Status | |
---|---|---|
firefox78 | --- | fixed |
People
(Reporter: evilpie, Assigned: evilpie)
References
(Blocks 2 open bugs)
Details
Attachments
(1 file)
(deleted),
text/x-phabricator-request
|
Details |
I think we can just use ClearDataService.jsm for both of these.
Assignee | ||
Comment 1•5 years ago
|
||
This is currently not yet finished because the tests aren't working yet.
SiteDataTestUtils.hasCacheEntry fails with:
Unexpected exception NS_ERROR_NOT_AVAILABLE: Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsICacheStorage.exists]
Assignee | ||
Comment 2•5 years ago
|
||
I am not sure who to ask about this. Johann it looks like you wrote test_network_cache.js
that also uses this functionality.
Comment 3•5 years ago
|
||
I added comments to the patch. Let me know if that helps, otherwise I'm happy to look into it more :)
Assignee | ||
Comment 4•5 years ago
|
||
Thank you! That was very helpful.
I think afterwards we should look into using clearData
for some other browsingData.clear methods. That might give us hostname support for free, where supported by the ClearDataService.
Updated•5 years ago
|
Updated•5 years ago
|
Comment 6•5 years ago
|
||
bugherder |
Description
•