diff options
Diffstat (limited to 'uriloader/exthandler/tests/mochitest/HelperAppLauncherDialog_chromeScript.js')
-rw-r--r-- | uriloader/exthandler/tests/mochitest/HelperAppLauncherDialog_chromeScript.js | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/uriloader/exthandler/tests/mochitest/HelperAppLauncherDialog_chromeScript.js b/uriloader/exthandler/tests/mochitest/HelperAppLauncherDialog_chromeScript.js index 4f66c99dc6..13084f92d6 100644 --- a/uriloader/exthandler/tests/mochitest/HelperAppLauncherDialog_chromeScript.js +++ b/uriloader/exthandler/tests/mochitest/HelperAppLauncherDialog_chromeScript.js @@ -34,7 +34,7 @@ Services.prefs.setCharPref("browser.download.dir", tmpDir.path); const FAKE_CID = Services.uuid.generateUUID(); function HelperAppLauncherDialog() {} HelperAppLauncherDialog.prototype = { - show(aLauncher, aWindowContext, aReason) { + show(aLauncher) { if ( Services.prefs.getBoolPref( "browser.download.always_ask_before_handling_new_types" @@ -49,13 +49,7 @@ HelperAppLauncherDialog.prototype = { } aLauncher.cancel(Cr.NS_BINDING_ABORTED); }, - promptForSaveToFileAsync( - appLauncher, - parent, - filename, - extension, - forceSave - ) { + promptForSaveToFileAsync(appLauncher, parent, filename) { if ( !Services.prefs.getBoolPref( "browser.download.always_ask_before_handling_new_types" |