summaryrefslogtreecommitdiffstats
path: root/toolkit/mozapps/extensions/test/xpcshell/test_AddonRepository.js
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/mozapps/extensions/test/xpcshell/test_AddonRepository.js')
-rw-r--r--toolkit/mozapps/extensions/test/xpcshell/test_AddonRepository.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/toolkit/mozapps/extensions/test/xpcshell/test_AddonRepository.js b/toolkit/mozapps/extensions/test/xpcshell/test_AddonRepository.js
index dd0dc1981..3f51d7226 100644
--- a/toolkit/mozapps/extensions/test/xpcshell/test_AddonRepository.js
+++ b/toolkit/mozapps/extensions/test/xpcshell/test_AddonRepository.js
@@ -208,7 +208,7 @@ var SEARCH_RESULTS = [{
repositoryStatus: 8,
size: 5555,
updateDate: new Date(1265033045000),
-
+
}, {
id: "purchase1@tests.mozilla.org",
type: "extension",
@@ -403,7 +403,7 @@ function run_test() {
try {
aInstall.install();
}
- catch (e) {
+ catch(e) {
do_print("Failed to install add-on " + aInstall.sourceURI.spec);
do_report_unexpected_exception(e);
}
@@ -469,12 +469,12 @@ function run_test_1() {
initiallyUndefined: true,
preference: PREF_GETADDONS_BROWSEADDONS,
urlTests: urlTests,
- getURL: () => AddonRepository.homepageURL
+ getURL: function() AddonRepository.homepageURL
}, {
initiallyUndefined: true,
preference: PREF_GETADDONS_BROWSERECOMMENDED,
urlTests: urlTests,
- getURL: () => AddonRepository.getRecommendedURL()
+ getURL: function() AddonRepository.getRecommendedURL()
}, {
initiallyUndefined: false,
preference: PREF_GETADDONS_BROWSESEARCHRESULTS,