Bug 1382637 - Backing out patch due to breakage (see: 1532161, 1532157). r=droeh a=lizzard
authorDylan Roeh <droeh@mozilla.com>
Thu, 31 Jan 2019 13:58:54 -0600
changeset 515706 b511d2df882c7fdbd3929608860affb914944245
parent 515705 46cd2c559813e86a7828cb791a41075c8738e29e
child 515707 a509901b44dc88c5387b2089e51d2873599c1a7f
push id1953
push userffxbld-merge
push dateMon, 11 Mar 2019 12:10:20 +0000
treeherdermozilla-release@9c35dcbaa899 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdroeh, lizzard
bugs1382637, 1532161, 1532157
milestone66.0
Bug 1382637 - Backing out patch due to breakage (see: 1532161, 1532157). r=droeh a=lizzard
mobile/android/base/java/org/mozilla/gecko/BrowserApp.java
mobile/android/chrome/content/browser.js
--- a/mobile/android/base/java/org/mozilla/gecko/BrowserApp.java
+++ b/mobile/android/base/java/org/mozilla/gecko/BrowserApp.java
@@ -1544,18 +1544,16 @@ public class BrowserApp extends GeckoApp
             delegate.onDestroy(this);
         }
 
         deleteTempFiles(getApplicationContext());
 
         NotificationHelper.destroy();
         GeckoNetworkManager.destroy();
 
-        EventDispatcher.getInstance().dispatch("Browser:ZombifyTabs", null);
-
         MmaDelegate.flushResources(this);
 
         super.onDestroy();
     }
 
     @Override
     protected void initializeChrome() {
         super.initializeChrome();
--- a/mobile/android/chrome/content/browser.js
+++ b/mobile/android/chrome/content/browser.js
@@ -366,17 +366,16 @@ var BrowserApp = {
       "Tab:Move",
       "Tab:OpenUri",
       "Tab:ViewSource",
     ]);
 
     GlobalEventDispatcher.registerListener(this, [
       "Browser:LoadManifest",
       "Browser:Quit",
-      "Browser:ZombifyTabs",
       "Fonts:Reload",
       "FormHistory:Init",
       "FullScreen:Exit",
       "Locale:OS",
       "Locale:Changed",
       "Passwords:Init",
       "Sanitize:ClearData",
       "SaveAs:PDF",
@@ -1726,23 +1725,16 @@ var BrowserApp = {
         installManifest(browser, data);
         break;
       }
 
       case "Browser:Quit":
         this.quit(data);
         break;
 
-      case "Browser:ZombifyTabs":
-        let tabs = this._tabs;
-        for (let i = 0; i < tabs.length; i++) {
-          tabs[i].zombify();
-        }
-        break;
-
       case "Fonts:Reload":
         FontEnumerator.updateFontList();
         break;
 
       case "FormHistory:Init": {
         // Force creation/upgrade of formhistory.sqlite
         FormHistory.count({}, {
           handleCompletion() {