mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 07:42:04 +00:00
Bug 834999 - followup to remove useless dump() r=me a=tef+
This commit is contained in:
parent
395197733f
commit
01b6dcb291
@ -339,9 +339,7 @@ let manifestCache = {
|
||||
|
||||
// Gets an entry from the cache, and populates the cache if needed.
|
||||
get : function mcache_get(aManifestURL, aManifest, aWindow) {
|
||||
dump("-- manifestCache::get() " + aManifestURL + "\n");
|
||||
if (!(aManifestURL in this._cache)) {
|
||||
dump("\twrapping\n");
|
||||
this._cache[aManifestURL] = ObjectWrapper.wrap(aManifest, aWindow);
|
||||
}
|
||||
return this._cache[aManifestURL];
|
||||
@ -349,15 +347,12 @@ let manifestCache = {
|
||||
|
||||
// Invalidates an entry in the cache.
|
||||
evict: function mcache_evict(aManifestURL) {
|
||||
dump("-- manifestCache::evict() " + aManifest + "\n");
|
||||
if (aManifestURL in this._cache) {
|
||||
dump("\tfound entry!\n");
|
||||
delete this._cache[aManifestURL];
|
||||
}
|
||||
},
|
||||
|
||||
clear: function mcache_clear() {
|
||||
dump("-- manifestCache::clear()\n");
|
||||
this._cache = { };
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user