summaryrefslogtreecommitdiffstats
path: root/toolkit/mozapps/extensions/test/xpcshell/test_XPIStates.js
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/mozapps/extensions/test/xpcshell/test_XPIStates.js')
-rw-r--r--toolkit/mozapps/extensions/test/xpcshell/test_XPIStates.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/toolkit/mozapps/extensions/test/xpcshell/test_XPIStates.js b/toolkit/mozapps/extensions/test/xpcshell/test_XPIStates.js
index 99ab8ab13..37ac161ca 100644
--- a/toolkit/mozapps/extensions/test/xpcshell/test_XPIStates.js
+++ b/toolkit/mozapps/extensions/test/xpcshell/test_XPIStates.js
@@ -60,7 +60,7 @@ writeInstallRDFToDir({
maxVersion: "1"
}],
name: "Unpacked, Enabled",
-}, profileDir, undefined, "extraFile.js");
+}, profileDir, null, "extraFile.js");
// Unpacked, disabled
@@ -75,12 +75,12 @@ writeInstallRDFToDir({
maxVersion: "1"
}],
name: "Unpacked, disabled",
-}, profileDir, undefined, "extraFile.js");
+}, profileDir, null, "extraFile.js");
// Keep track of the last time stamp we've used, so that we can keep moving
// it forward (if we touch two different files in the same add-on with the same
// timestamp we may not consider the change significant)
-var lastTimestamp = Date.now();
+let lastTimestamp = Date.now();
/*
* Helper function to touch a file and then test whether we detect the change.