Backed out changeset d67c6dcba478 (bug 430745) on a CLOSED TREE on request from jaws
authorCarsten "Tomcat" Book <cbook@mozilla.com>
Mon, 14 Nov 2016 16:40:53 +0100
changeset 440002 8cdff71808a0e11361bca7f218658c4343c730ca
parent 440001 ebec82f380befccdb9653a607330835cd5f7b1be
child 440003 f11ca24b2382ed6c8c7970a82fff53f7f3e0aa6d
push id36143
push userjkingston@mozilla.com
push dateWed, 16 Nov 2016 22:20:38 +0000
bugs430745
milestone52.0a2
backs outd67c6dcba478633c56f807da668483c42bf8ca25
Backed out changeset d67c6dcba478 (bug 430745) on a CLOSED TREE on request from jaws
toolkit/modules/SelectParentHelper.jsm
--- a/toolkit/modules/SelectParentHelper.jsm
+++ b/toolkit/modules/SelectParentHelper.jsm
@@ -3,19 +3,16 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 "use strict";
 
 this.EXPORTED_SYMBOLS = [
   "SelectParentHelper"
 ];
 
-const {utils: Cu} = Components;
-const { AppConstants } = Cu.import("resource://gre/modules/AppConstants.jsm");
-
 // Maximum number of rows to display in the select dropdown.
 const MAX_ROWS = 20;
 
 var currentBrowser = null;
 var currentMenulist = null;
 var currentZoom = 1;
 var closedWithEnter = false;
 
@@ -55,17 +52,17 @@ this.SelectParentHelper = {
 
     menupopup.classList.toggle("isOpenedViaTouch", isOpenedViaTouch);
 
     let constraintRect = browser.getBoundingClientRect();
     constraintRect = new win.DOMRect(constraintRect.left + win.mozInnerScreenX,
                                      constraintRect.top + win.mozInnerScreenY,
                                      constraintRect.width, constraintRect.height);
     menupopup.setConstraintRect(constraintRect);
-    menupopup.openPopupAtScreenRect(AppConstants.platform == "macosx" ? "selection" : "after_start", rect.left, rect.top, rect.width, rect.height, false, false);
+    menupopup.openPopupAtScreenRect("after_start", rect.left, rect.top, rect.width, rect.height, false, false);
   },
 
   hide: function(menulist, browser) {
     if (currentBrowser == browser) {
       menulist.menupopup.hidePopup();
     }
   },