[Pkg-mozext-commits] [itsalltext] 395/459: Properly support FF 3.6

David Prévot taffit at moszumanska.debian.org
Tue Feb 24 23:26:42 UTC 2015


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

taffit pushed a commit to branch master
in repository itsalltext.

commit ca0d7bf05af86e22da91a095f28989aa993c1837
Author: Christian Höltje <docwhat at gerf.org>
Date:   Wed Sep 21 16:28:41 2011 -0400

    Properly support FF 3.6
---
 src/chrome/content/cacheobj.js | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/src/chrome/content/cacheobj.js b/src/chrome/content/cacheobj.js
index c2e2e18..57a6c6e 100644
--- a/src/chrome/content/cacheobj.js
+++ b/src/chrome/content/cacheobj.js
@@ -413,7 +413,13 @@ CacheObj.prototype.edit = function (extension, clobber) {
         process.init(program);
 
         // Run the process.
-        process.runwAsync(args, args.length, observer, false);
+        if (typeof process.runwAsync == 'undefined') {
+          // FF < 4.0
+          process.runAsync(args, args.length, observer, false);
+        } else {
+          // FF >= 4.0 - Wide character support.
+          process.runwAsync(args, args.length, observer, false);
+        }
 
         this.private_is_watching = true;
         this.edit_count++;

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



More information about the Pkg-mozext-commits mailing list