Bug 834999 - followup to remove useless dump() r=me a=tef+
authorFabrice Desré <fabrice@mozilla.com>
Thu, 31 Jan 2013 14:34:39 -0800
changeset 130399 3e4fc8131668c5f0e77a03fefa1dd4200ba74041
parent 130398 d87607c66190c5d1b9cd38c4d2275c6914e8b982
child 130400 5e57a1b8f7b4f866c99af4ce4316d9e03bfc3896
push id2323
push userbbajaj@mozilla.com
push dateMon, 01 Apr 2013 19:47:02 +0000
treeherdermozilla-beta@7712be144d91 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme, tef
bugs834999
milestone21.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 834999 - followup to remove useless dump() r=me a=tef+
dom/apps/src/Webapps.js
--- a/dom/apps/src/Webapps.js
+++ b/dom/apps/src/Webapps.js
@@ -334,35 +334,30 @@ DOMError.prototype = {
   */
 
 // A simple cache for the wrapped manifests.
 let manifestCache = {
   _cache: { },
 
   // 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];
   },
 
   // 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 = { };
   }
 }
 
 function createApplicationObject(aWindow, aApp) {
   let app = Cc["@mozilla.org/webapps/application;1"].createInstance(Ci.mozIDOMApplication);
   app.wrappedJSObject.init(aWindow, aApp);
   return app;