From 9626500a0ecefde76411b60aeb54051cfdbc90c4 Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Sat, 3 Mar 2018 21:26:56 +0100 Subject: Remove testing-only UI components for e10s This removes front-end tools only applicable for testing e10s (open non-e10s window, etc.) This resolves #37 --- browser/components/customizableui/CustomizableUI.jsm | 9 --------- 1 file changed, 9 deletions(-) (limited to 'browser/components/customizableui/CustomizableUI.jsm') diff --git a/browser/components/customizableui/CustomizableUI.jsm b/browser/components/customizableui/CustomizableUI.jsm index 01389108d..cb0f519b2 100644 --- a/browser/components/customizableui/CustomizableUI.jsm +++ b/browser/components/customizableui/CustomizableUI.jsm @@ -207,15 +207,6 @@ var CustomizableUIInternal = { panelPlacements.splice(-1, 0, "developer-button"); } - if (AppConstants.E10S_TESTING_ONLY) { - if (gPalette.has("e10s-button")) { - let newWindowIndex = panelPlacements.indexOf("new-window-button"); - if (newWindowIndex > -1) { - panelPlacements.splice(newWindowIndex + 1, 0, "e10s-button"); - } - } - } - let showCharacterEncoding = Services.prefs.getComplexValue( "browser.menu.showCharacterEncoding", Ci.nsIPrefLocalizedString -- cgit v1.2.3