summaryrefslogtreecommitdiffstats
path: root/application/basilisk/base/content/browser.js
diff options
context:
space:
mode:
authorMoonchild <mcwerewolf@gmail.com>2018-10-17 19:10:02 +0200
committerGitHub <noreply@github.com>2018-10-17 19:10:02 +0200
commit46eab94c094807ff590267872cf32a664625932f (patch)
treefe8cc19505d1e4abcb472bd30aadaa5b86c1a255 /application/basilisk/base/content/browser.js
parentb927e0d5caad3a7703829bdc1093bfc67ef3fb97 (diff)
parent69afcc4f12b1c6c20cbc43989e80148ec502d95e (diff)
downloadUXP-46eab94c094807ff590267872cf32a664625932f.tar
UXP-46eab94c094807ff590267872cf32a664625932f.tar.gz
UXP-46eab94c094807ff590267872cf32a664625932f.tar.lz
UXP-46eab94c094807ff590267872cf32a664625932f.tar.xz
UXP-46eab94c094807ff590267872cf32a664625932f.zip
Merge pull request #836 from Ascrod/translation
Basilisk: Remove in-browser translation
Diffstat (limited to 'application/basilisk/base/content/browser.js')
-rw-r--r--application/basilisk/base/content/browser.js12
1 files changed, 0 insertions, 12 deletions
diff --git a/application/basilisk/base/content/browser.js b/application/basilisk/base/content/browser.js
index 4f4ebb08f..d45956191 100644
--- a/application/basilisk/base/content/browser.js
+++ b/application/basilisk/base/content/browser.js
@@ -45,7 +45,6 @@ Cu.import("resource://gre/modules/NotificationDB.jsm");
["SitePermissions", "resource:///modules/SitePermissions.jsm"],
["TabCrashHandler", "resource:///modules/ContentCrashHandlers.jsm"],
["Task", "resource://gre/modules/Task.jsm"],
- ["Translation", "resource:///modules/translation/Translation.jsm"],
["UpdateUtils", "resource://gre/modules/UpdateUtils.jsm"],
["Weave", "resource://services-sync/main.js"],
["fxAccounts", "resource://gre/modules/FxAccounts.jsm"],
@@ -969,7 +968,6 @@ var gBrowserInit = {
// the listener is registered.
DOMLinkHandler.init();
gPageStyleMenu.init();
- LanguageDetectionListener.init();
BrowserOnClick.init();
FeedHandler.init();
DevEdition.init();
@@ -5680,16 +5678,6 @@ function setStyleDisabled(disabled) {
gPageStyleMenu.disableStyle();
}
-
-var LanguageDetectionListener = {
- init: function() {
- window.messageManager.addMessageListener("Translation:DocumentState", msg => {
- Translation.documentStateReceived(msg.target, msg.data);
- });
- }
-};
-
-
var BrowserOffline = {
_inited: false,