Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
applicationReady.then(function()
{
let window = Services.wm.getMostRecentWindow("navigator:browser");
run(window, urls, timeout, maxtabs, baseURL + "save", function()
{
Services.startup.quit(Services.startup.eAttemptQuit);
});
}, function(exception)
{