[Pkg-mozext-commits] [adblock-plus] 421/464: Issue 153 - Expose TextEncoder and TextDecoder objects to the JS modules

David Prévot taffit at moszumanska.debian.org
Tue Jul 22 20:44:40 UTC 2014


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

taffit pushed a commit to branch master
in repository adblock-plus.

commit e2ac53c0d10ceb33e26506c4f33bdf46e0c01a6a
Author: Wladimir Palant <trev at adblockplus.org>
Date:   Fri Mar 21 14:02:45 2014 +0100

    Issue 153 - Expose TextEncoder and TextDecoder objects to the JS modules
    
    --HG--
    extra : rebase_source : 1974efe89e6f2093ffc4ec66a75a348979d6d795
---
 bootstrap.js.tmpl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bootstrap.js.tmpl b/bootstrap.js.tmpl
index cc933f9..08878e1 100644
--- a/bootstrap.js.tmpl
+++ b/bootstrap.js.tmpl
@@ -20,7 +20,7 @@ const Ci = Components.interfaces;
 const Cr = Components.results;
 const Cu = Components.utils;
 
-let {Services, atob, btoa, File} = Cu.import("resource://gre/modules/Services.jsm", null);
+let {Services, atob, btoa, File, TextDecoder, TextEncoder} = Cu.import("resource://gre/modules/Services.jsm", null);
 
 {%- if hasXMLHttpRequest %}
 let XMLHttpRequest = Components.Constructor("@mozilla.org/xmlextras/xmlhttprequest;1", "nsIXMLHttpRequest");

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



More information about the Pkg-mozext-commits mailing list