[Pkg-mozext-commits] [tabmixplus] 135/147: Follow up bug 1356569 - Remove notifyObservers last parameter when it is falsy

David Prévot taffit at moszumanska.debian.org
Sat Aug 5 15:27:45 UTC 2017


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository tabmixplus.

commit 31851ec6f292f59ec322eebd8a3eafa302540eaf
Author: onemen <tabmix.onemen at gmail.com>
Date:   Mon Apr 17 20:53:50 2017 +0300

    Follow up bug 1356569 - Remove notifyObservers last parameter when it is falsy
---
 chrome/content/minit/tablib.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/chrome/content/minit/tablib.js b/chrome/content/minit/tablib.js
index c0d0ec4..662bef6 100644
--- a/chrome/content/minit/tablib.js
+++ b/chrome/content/minit/tablib.js
@@ -816,7 +816,7 @@ Tabmix.tablib = {
       'gBrowser.warnAboutClosingTabs(gBrowser.closingTabsEnum.ALL)',
       'Tabmix.tablib.closeWindow(true)', {flags: "g"}
     )._replace(
-      'os.notifyObservers(null, "browser-lastwindow-close-granted", null);',
+      /os\.notifyObservers\(null, "browser-lastwindow-close-granted"(?:, null)?\);/,
       'if (!TabmixSvc.isMac && !Tabmix.tablib.closeWindow(true)) return false;\
        $&'
     ).toCode();

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/tabmixplus.git



More information about the Pkg-mozext-commits mailing list