mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-05 16:46:26 +00:00
add a clearCache method to the record manager
This commit is contained in:
parent
9a6bb0d0f4
commit
68eee4397e
@ -209,6 +209,10 @@ RecordManager.prototype = {
|
||||
return false;
|
||||
},
|
||||
|
||||
clearCache: function recordMgr_clearCache() {
|
||||
this._records = {};
|
||||
},
|
||||
|
||||
del: function RegordMgr_del(url) {
|
||||
delete this._records[url];
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user