diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-03-03 21:26:56 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-03-03 21:26:56 +0100 |
commit | 9626500a0ecefde76411b60aeb54051cfdbc90c4 (patch) | |
tree | 9f1608d9776d86cf3f100c9c1d73b9b5f76246ed /browser/base/content/tabbrowser.xml | |
parent | d252c5b2320859c58900b68a7f5ac82199aa1e83 (diff) | |
download | UXP-9626500a0ecefde76411b60aeb54051cfdbc90c4.tar UXP-9626500a0ecefde76411b60aeb54051cfdbc90c4.tar.gz UXP-9626500a0ecefde76411b60aeb54051cfdbc90c4.tar.lz UXP-9626500a0ecefde76411b60aeb54051cfdbc90c4.tar.xz UXP-9626500a0ecefde76411b60aeb54051cfdbc90c4.zip |
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
Diffstat (limited to 'browser/base/content/tabbrowser.xml')
-rw-r--r-- | browser/base/content/tabbrowser.xml | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/browser/base/content/tabbrowser.xml b/browser/base/content/tabbrowser.xml index 0cb0f3bd6..b27846835 100644 --- a/browser/base/content/tabbrowser.xml +++ b/browser/base/content/tabbrowser.xml @@ -3222,20 +3222,6 @@ </body> </method> - <!-- Opens a given tab to a non-remote window. --> - <method name="openNonRemoteWindow"> - <parameter name="aTab"/> - <body> - <![CDATA[ - if (!this.AppConstants.E10S_TESTING_ONLY) { - throw "This method is intended only for e10s testing!"; - } - let url = aTab.linkedBrowser.currentURI.spec; - return window.openDialog("chrome://browser/content/", "_blank", "chrome,all,dialog=no,non-remote", url); - ]]> - </body> - </method> - <method name="moveTabTo"> <parameter name="aTab"/> <parameter name="aIndex"/> @@ -4581,8 +4567,7 @@ label = this.mStringBundle.getString(stringID); } } else { - label = tab.getAttribute("label") + - (this.AppConstants.E10S_TESTING_ONLY && tab.linkedBrowser && tab.linkedBrowser.isRemoteBrowser ? " - e10s" : ""); + label = tab.getAttribute("label"); } event.target.setAttribute("label", label); ]]></body> |