From 8110b9ae6fd93c2186c50197babfc306c6d5d24e Mon Sep 17 00:00:00 2001 From: gorhill Date: Fri, 20 Nov 2015 00:43:02 -0500 Subject: [PATCH] #948: undo first attempt at fix --- platform/firefox/vapi-background.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/platform/firefox/vapi-background.js b/platform/firefox/vapi-background.js index c7c7be0a1..c9f970dfa 100644 --- a/platform/firefox/vapi-background.js +++ b/platform/firefox/vapi-background.js @@ -2240,10 +2240,7 @@ vAPI.net.registerListeners = function() { var browser = e.target; // I have seen this happens (at startup time) - // https://github.com/gorhill/uBlock/issues/948 - // On older version of Firefox, `browser.webNavigation` can be null, - // which would cause currentURI to fail. - if ( !browser.webNavigation || !browser.currentURI ) { + if ( !browser.currentURI ) { return; }