From 2e2b05f1f00a69167d6d55835574e4eb458db746 Mon Sep 17 00:00:00 2001 From: SammysHP <sven@sammyshp.de> Date: Sat, 7 Oct 2017 11:21:58 +0200 Subject: [PATCH 1/2] Use different method to obtain chrome context --- common/components/protocols.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/common/components/protocols.js b/common/components/protocols.js index 7c6a028a6..de5e50f1c 100755 --- a/common/components/protocols.js +++ b/common/components/protocols.js @@ -22,9 +22,7 @@ const nsIProtocolHandler = Ci.nsIProtocolHandler; const ioService = Cc["@mozilla.org/network/io-service;1"].getService(Ci.nsIIOService); -let channel = Components.classesByID["{61ba33c0-3031-11d3-8cd0-0060b0fc14a3}"] - .getService(Ci.nsIProtocolHandler) - .newChannel(ioService.newURI("chrome://liberator/content/data", null, null)) +let channel = ioService.newChannel("chrome://liberator/content/data", null, null) .QueryInterface(Ci.nsIRequest); const systemPrincipal = channel.owner; channel.cancel(NS_BINDING_ABORTED); From e501f89b874e4414aa959f2f5797be481942fc53 Mon Sep 17 00:00:00 2001 From: SammysHP <sven@sammyshp.de> Date: Sun, 8 Oct 2017 12:51:47 +0200 Subject: [PATCH 2/2] Update version compatibility and NEWS --- vimperator/Makefile | 4 ++-- vimperator/NEWS | 11 ++++------- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/vimperator/Makefile b/vimperator/Makefile index 46bad0ad2..7828ea6c3 100644 --- a/vimperator/Makefile +++ b/vimperator/Makefile @@ -3,8 +3,8 @@ VERSION = 3.16.0 NAME = vimperator UUID = vimperator@mozdev.org -MIN_VERSION = 38.0 -MAX_VERSION = 51.0 +MIN_VERSION = 52.0 +MAX_VERSION = 56.0 -include private.properties diff --git a/vimperator/NEWS b/vimperator/NEWS index d4f155ccf..a015e6746 100644 --- a/vimperator/NEWS +++ b/vimperator/NEWS @@ -1,12 +1,10 @@ 201x-xx-xx: - * create README.md * new: support <label> for <input type=file> * new: fire 'change' event on file upload - * fix search highlighting (hlsearch) in firefox 51 - * allow passing a <directory> to `:w` instead of a complete <file> - * fix ssl icon in statusbar - * fix "preferences" button in Firefox add-ons page - * disable urlseparator by default as its unexpected behaviour irritates users + * new: allow passing a <directory> to `:w` instead of a complete <file> + * change: disable urlseparator by default as its unexpected behaviour irritates users + * fix: preferences button in Firefox add-ons page not working + * fix: various compatibility fixes for Firefox 52 to 56 2017-02-01: * add option 'newtaburl' to set default URL in new tabs @@ -24,7 +22,6 @@ * fix <P> by initializing nsITransferable before usage * remove uriIsPrefix, unsupported - 2016-10-05: * update and fix css related issues * fix some mispellings