Closed
Bug 1324760
Opened 7 years ago
Closed 7 years ago
Expose a function that clears plugin data in sanitize.js
Categories
(Firefox :: General, defect, P2)
Firefox
General
Tracking
()
RESOLVED
FIXED
Firefox 53
Tracking | Status | |
---|---|---|
firefox53 | --- | fixed |
People
(Reporter: bsilverberg, Assigned: bsilverberg)
References
Details
Attachments
(1 file)
The browsingData WebExtensions API [1] needs to be able to remove plugin data, and only plugin data. It can use the same code that is currently in promiseClearPluginCookies in sanitize.js [2] and rather than copy all of that code into ext-browsingData.js if we change sanitize.js to expose a method that just clears plugin data we can use that. Currently the code to clear plugin data is embedded inside cookies.clear(), so it needs to be extracted and exposed. This bug is about doing that. I discussed a number of options for this with mak in IRC and we decided that making the change to sanitize.js was the best route at this time. [1] https://developer.chrome.com/extensions/browsingData#method-removePluginData [2] http://searchfox.org/mozilla-central/source/browser/base/content/sanitize.js#314
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment 3•7 years ago
|
||
mozreview-review |
Comment on attachment 8820340 [details] Bug 1324760 - Expose a function that clears plugin data in sanitize.js, https://reviewboard.mozilla.org/r/99846/#review100678 mostly code move, the only downside is that with certain input strings, like both cookies and pluginData, it may end up double clearing plugin data... but not a big deal and in practice it's unlikely to happen.
Attachment #8820340 -
Flags: review?(mak77) → review+
Assignee | ||
Comment 4•7 years ago
|
||
Thanks Marco. Try is happy as well, so requesting check in.
Keywords: checkin-needed
Pushed by ihsiao@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f7f5da2f308a Expose a function that clears plugin data in sanitize.js, r=mak
Keywords: checkin-needed
Comment 6•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/f7f5da2f308a
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox53:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 53
You need to log in
before you can comment on or make changes to this bug.
Description
•