diff options
Diffstat (limited to 'toolkit/mozapps/extensions/test/browser/browser_bug523784.js')
-rw-r--r-- | toolkit/mozapps/extensions/test/browser/browser_bug523784.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/toolkit/mozapps/extensions/test/browser/browser_bug523784.js b/toolkit/mozapps/extensions/test/browser/browser_bug523784.js index e61fafd6b..c467e5cc0 100644 --- a/toolkit/mozapps/extensions/test/browser/browser_bug523784.js +++ b/toolkit/mozapps/extensions/test/browser/browser_bug523784.js @@ -6,7 +6,7 @@ const URI_BLOCKLIST_DIALOG = "chrome://mozapps/content/extensions/blocklist.xul" // This tests that the blocklist dialog still affects soft-blocked add-ons // if the user clicks the "Restart Later" button. It also ensures that the // "Cancel" button is correctly renamed (to "Restart Later"). -var args = { +let args = { restart: false, list: [{ name: "Bug 523784 softblocked addon", @@ -31,7 +31,7 @@ function test() { win.addEventListener("load", function() { win.removeEventListener("load", arguments.callee, false); - executeSoon(() => bug523784_test1(win)); + executeSoon(function() bug523784_test1(win)); }, false); }; Services.ww.registerNotification(windowObserver); @@ -82,7 +82,7 @@ function bug523784_test2(win) { win.addEventListener("load", function() { win.removeEventListener("load", arguments.callee, false); - executeSoon(function() { + executeSoon(function(){ let moreInfoLink = win.document.getElementById("moreInfo"); let cancelButton = win.document.documentElement.getButton("cancel"); is(moreInfoLink.getAttribute("href"), |