summaryrefslogtreecommitdiffstats
path: root/application/basilisk/base/content/browser.js
diff options
context:
space:
mode:
authorAscrod <32915892+Ascrod@users.noreply.github.com>2018-10-11 23:34:52 -0400
committerAscrod <32915892+Ascrod@users.noreply.github.com>2018-10-11 23:34:52 -0400
commit98bf922150a1ba5fe248735b377deca3dbb62043 (patch)
tree220c8eea5a6fe778ebc7ae46714c8733d90e2655 /application/basilisk/base/content/browser.js
parentea5b5766a92bc13fc7eb9dc484e133a7a0638d50 (diff)
downloadUXP-98bf922150a1ba5fe248735b377deca3dbb62043.tar
UXP-98bf922150a1ba5fe248735b377deca3dbb62043.tar.gz
UXP-98bf922150a1ba5fe248735b377deca3dbb62043.tar.lz
UXP-98bf922150a1ba5fe248735b377deca3dbb62043.tar.xz
UXP-98bf922150a1ba5fe248735b377deca3dbb62043.zip
Issue #832 Part 1: Remove modules, chrome, and preferences.
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,