Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff)

This commit is contained in:
Shu-yu Guo
2015-09-15 11:19:45 -07:00
parent b5d1789b6c
commit 37989840cd
2610 changed files with 6512 additions and 6512 deletions

View File

@@ -53,7 +53,7 @@ const NOTIFICATIONS = [
"sessionstore-final-state-write-complete"
];
let CrashMonitorInternal = {
var CrashMonitorInternal = {
/**
* Notifications received during the current session.

View File

@@ -5,9 +5,9 @@
Components.utils.import("resource://gre/modules/XPCOMUtils.jsm");
Components.utils.import("resource://gre/modules/Services.jsm");
let Scope = {}
var Scope = {}
Components.utils.import("resource://gre/modules/CrashMonitor.jsm", Scope);
let MonitorAPI = Scope.CrashMonitor;
var MonitorAPI = Scope.CrashMonitor;
function CrashMonitor() {};

View File

@@ -7,7 +7,7 @@ Components.utils.import("resource://gre/modules/XPCOMUtils.jsm");
XPCOMUtils.defineLazyModuleGetter(this, "OS",
"resource://gre/modules/osfile.jsm");
let sessionCheckpointsPath;
var sessionCheckpointsPath;
/**
* Start the tasks of the different tests