Bug 734332 - Remove unused 'Tab:Selected:Done' message. r=mfinkle
authorMargaret Leibovic <margaret.leibovic@gmail.com>
Wed, 14 Mar 2012 10:20:47 -0700
changeset 89400 292f15267c3f7fef6107a9a0cc503090b1033496
parent 89399 5392a82cabeb18094250d59c926daa7ccd65a844
child 89401 5217bbf42aa71da726a40175975a13880ee519e8
push id1
push userroot
push dateMon, 20 Oct 2014 17:29:22 +0000
reviewersmfinkle
bugs734332
milestone14.0a1
Bug 734332 - Remove unused 'Tab:Selected:Done' message. r=mfinkle
mobile/android/chrome/content/browser.js
--- a/mobile/android/chrome/content/browser.js
+++ b/mobile/android/chrome/content/browser.js
@@ -594,24 +594,16 @@ var BrowserApp = {
   // This method updates the state in BrowserApp after a tab has been selected
   // in the Java UI.
   _handleTabSelected: function _handleTabSelected(aTab) {
     this.selectedTab = aTab;
 
     let evt = document.createEvent("UIEvents");
     evt.initUIEvent("TabSelect", true, false, window, null);
     aTab.browser.dispatchEvent(evt);
-
-    let message = {
-      gecko: {
-        type: "Tab:Selected:Done",
-        tabID: aTab.id
-      }
-    };
-    sendMessageToJava(message);
   },
 
   quit: function quit() {
     // Figure out if there's at least one other browser window around.
     let lastBrowser = true;
     let e = Services.wm.getEnumerator("navigator:browser");
     while (e.hasMoreElements() && lastBrowser) {
       let win = e.getNext();