Bug 1132844 - Fix ReaderMode.jsm to work with jsloader.reuseGlobal r=margaret
authorFabrice Desré <fabrice@mozilla.com>
Fri, 13 Feb 2015 15:13:40 -0800
changeset 229064 fa6ae9d07394fd52184603dfe174f8b33cd166e2
parent 229063 0e2e7780755bc00fc5b83d832175f46d0f697a58
child 229065 50d56554e6fdc8ae90603382c882a12fa63108c5
push id28281
push usercbook@mozilla.com
push dateMon, 16 Feb 2015 14:56:26 +0000
treeherdermozilla-central@dfc80e670462 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmargaret
bugs1132844
milestone38.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1132844 - Fix ReaderMode.jsm to work with jsloader.reuseGlobal r=margaret
toolkit/components/reader/ReaderMode.jsm
--- a/toolkit/components/reader/ReaderMode.jsm
+++ b/toolkit/components/reader/ReaderMode.jsm
@@ -12,17 +12,17 @@ Cu.import("resource://gre/modules/Servic
 Cu.import("resource://gre/modules/XPCOMUtils.jsm");
 
 Cu.importGlobalProperties(["XMLHttpRequest"]);
 
 XPCOMUtils.defineLazyModuleGetter(this, "CommonUtils", "resource://services-common/utils.js");
 XPCOMUtils.defineLazyModuleGetter(this, "OS", "resource://gre/modules/osfile.jsm");
 XPCOMUtils.defineLazyModuleGetter(this, "Task", "resource://gre/modules/Task.jsm");
 
-let ReaderMode = {
+this.ReaderMode = {
   // Version of the cache schema.
   CACHE_VERSION: 1,
 
   DEBUG: 0,
 
   // Don't try to parse the page if it has too many elements (for memory and
   // performance reasons)
   MAX_ELEMS_TO_PARSE: 3000,