Backed out changeset 9c564b61b7f8 (bug 964511) for suspicion of causing frequent rc2 orange on android
authorCarsten "Tomcat" Book <cbook@mozilla.com>
Wed, 29 Jan 2014 12:17:22 +0100
changeset 181791 76d3eee27948c41ad1e684cc729cde1a69cb4209
parent 181790 9bca7390eb1f03026d13fb916d4e1e2cfd5759f6
child 181792 aca94a7adb64a2aa1034554c6d2d6509d16c0cbd
push id3343
push userffxbld
push dateMon, 17 Mar 2014 21:55:32 +0000
treeherdermozilla-beta@2f7d3415f79f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs964511
milestone29.0a1
backs out9c564b61b7f89d6b8b4f4d724062f11e67eb83f9
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
Backed out changeset 9c564b61b7f8 (bug 964511) for suspicion of causing frequent rc2 orange on android
mobile/android/components/Snippets.js
--- a/mobile/android/components/Snippets.js
+++ b/mobile/android/components/Snippets.js
@@ -317,20 +317,16 @@ function Snippets() {}
 
 Snippets.prototype = {
   QueryInterface: XPCOMUtils.generateQI([Ci.nsIObserver, Ci.nsITimerCallback]),
   classID: Components.ID("{a78d7e59-b558-4321-a3d6-dffe2f1e76dd}"),
 
   observe: function(subject, topic, data) {
     switch(topic) {
       case "profile-after-change":
-        Services.obs.addObserver(this, "browser-delayed-startup-finished", false);
-        break;
-      case "browser-delayed-startup-finished":
-        Services.obs.removeObserver(this, "browser-delayed-startup-finished", false);
         if (Services.prefs.getBoolPref("browser.snippets.syncPromo.enabled")) {
           loadSyncPromoBanner();
         }
 
         if (Services.prefs.getBoolPref("browser.snippets.enabled")) {
           loadSnippetsFromCache();
         }
         break;