--- a/browser/base/content/browser.js +++ b/browser/base/content/browser.js @@ -71,7 +71,6 @@ XPCOMUtils.defineLazyGetter(this, "exten ["ProcessHangMonitor", "resource:///modules/ProcessHangMonitor.jsm"], ["PromiseUtils", "resource://gre/modules/PromiseUtils.jsm"], ["ReaderMode", "resource://gre/modules/ReaderMode.jsm"], - ["ReaderParent", "resource:///modules/ReaderParent.jsm"], ["RecentWindow", "resource:///modules/RecentWindow.jsm"], ["SessionStore", "resource:///modules/sessionstore/SessionStore.jsm"], ["ShortcutUtils", "resource://gre/modules/ShortcutUtils.jsm"], @@ -4725,7 +4724,6 @@ var XULBrowserWindow = { } } UpdateBackForwardCommands(gBrowser.webNavigation); - ReaderParent.updateReaderButton(gBrowser.selectedBrowser); gGestureSupport.restoreRotationState(); --- a/browser/base/content/browser-sets.inc +++ b/browser/base/content/browser-sets.inc @@ -48,7 +48,6 @@ - --- a/browser/base/content/browser.xul +++ b/browser/base/content/browser.xul @@ -902,10 +902,6 @@ hidden="true" tooltiptext="&pageReportIcon.tooltip;" onmousedown="gPopupBlockerObserver.onReportButtonMousedown(event);"/> - { - ReaderParent.toggleReaderMode({target: target.node}); - }); break; } --- a/browser/modules/moz.build +++ b/browser/modules/moz.build @@ -150,7 +150,6 @@ 'PermissionUI.jsm', 'PluginContent.jsm', 'ProcessHangMonitor.jsm', - 'ReaderParent.jsm', 'RecentWindow.jsm', 'RemotePrompt.jsm', 'Sanitizer.jsm',