mirror of
https://github.com/electron/electron.git
synced 2026-02-04 04:05:36 -05:00
feat: promisify session.clearStorageData() (#17249)
This commit is contained in:
@@ -23,6 +23,8 @@ Session.prototype._init = function () {
|
||||
app.emit('session-created', this)
|
||||
}
|
||||
|
||||
Session.prototype.clearStorageData = deprecate.promisify(Session.prototype.clearStorageData)
|
||||
|
||||
Cookies.prototype.flushStore = deprecate.promisify(Cookies.prototype.flushStore)
|
||||
Cookies.prototype.get = deprecate.promisify(Cookies.prototype.get)
|
||||
Cookies.prototype.remove = deprecate.promisify(Cookies.prototype.remove)
|
||||
|
||||
Reference in New Issue
Block a user