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 120467 50cf5bbcb1803ec23cb6cb0847b5cb8101eb864f
parent 120466 683b08dc1afd73e823f85c6352115d94e8df8168
child 120478 a4f8cb70cc5d1949fdcf2b1347c4bd43494a06bd
child 120585 8ee65e7da665d8a0802479d242e9a1750a1e23ee
push id24252
push usercjones@mozilla.com
push dateThu, 31 Jan 2013 22:42:45 +0000
treeherdermozilla-central@50cf5bbcb180 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme, tef
bugs834999
milestone21.0a1
first release with
nightly linux32
50cf5bbcb180 / 21.0a1 / 20130201030927 / files
nightly linux64
50cf5bbcb180 / 21.0a1 / 20130201030927 / files
nightly mac
50cf5bbcb180 / 21.0a1 / 20130201030927 / files
nightly win32
50cf5bbcb180 / 21.0a1 / 20130201030927 / files
nightly win64
50cf5bbcb180 / 21.0a1 / 20130201030927 / files
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
releases
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;