[Pkg-mozext-commits] [greasemonkey] 44/62: View source - fix for Firefox 38.0-

David Prévot taffit at moszumanska.debian.org
Sun Sep 13 22:10:23 UTC 2015


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

taffit pushed a commit to branch master
in repository greasemonkey.

commit 2812c36dd2cd0a9c61956f885a8dc8ad87449e51
Author: janekptacijarabaci <janekptacijarabaci at seznam.cz>
Date:   Tue Aug 25 01:05:39 2015 +0200

    View source - fix for Firefox 38.0-
---
 components/greasemonkey.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/components/greasemonkey.js b/components/greasemonkey.js
index 080c75a..1c3ce92 100644
--- a/components/greasemonkey.js
+++ b/components/greasemonkey.js
@@ -74,7 +74,8 @@ function startup(aService) {
   parentMessageManager.addMessageListener(
       'greasemonkey:scripts-for-uuid',
       aService.getScriptsForUuid.bind(aService));
-  parentMessageManager.addMessageListener(
+  var mm = Services.ppmm ? Services.ppmm : globalMessageManager;
+  mm.addMessageListener(
       'greasemonkey:url-is-temp-file', aService.urlIsTempFile.bind(aService));
 
   // Yes, we have to load the frame script once here in the parent scope.

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



More information about the Pkg-mozext-commits mailing list