From 16f2defa530b36cae7da5e28b5eafef9138adba5 Mon Sep 17 00:00:00 2001 From: Ruben Rodriguez Date: Wed, 28 Jan 2015 22:16:14 +0100 Subject: Updated to v31.4.0ESR * Search form in about:icecat now searches in default search engine * Disabled accessibility.blockautorefresh * Replaced references to Open Source with Free Software where applicable * Added html5-video-everywhere v0.1.1 extension: https://github.com/lejenome/html5-video-everywhere * Updated LibreJS to 6.0.8 Build scripts updated to use pbuilder --- .../extensions/https-everywhere@eff.org/chrome/content/code/IOUtil.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'data/extensions/https-everywhere@eff.org/chrome/content/code/IOUtil.js') diff --git a/data/extensions/https-everywhere@eff.org/chrome/content/code/IOUtil.js b/data/extensions/https-everywhere@eff.org/chrome/content/code/IOUtil.js index 96c2500..7e1ff8f 100644 --- a/data/extensions/https-everywhere@eff.org/chrome/content/code/IOUtil.js +++ b/data/extensions/https-everywhere@eff.org/chrome/content/code/IOUtil.js @@ -1,3 +1,5 @@ +Components.utils.import("resource://gre/modules/XPCOMUtils.jsm"); + const IO = { readFile: function(file, charset) { var res; @@ -57,7 +59,7 @@ function nsISupportsWrapper(wrapped) { this.wrappedJSObject = wrapped; } nsISupportsWrapper.prototype = { - QueryInterface: xpcom_generateQI([]) + QueryInterface: XPCOMUtils.generateQI([]) }; const IOUtil = { -- cgit v1.2.3