From ce644c596079511913ac843fa9a5edc8ef81b274 Mon Sep 17 00:00:00 2001 From: Raymond Hill Date: Thu, 11 Jul 2019 10:17:06 -0400 Subject: [PATCH] Remove code unused in next release Since https://github.com/uBlockOrigin/uBlock-issues/issues/156 won't be fixed in next release, no need to ship with code which will be unused, and anyways only once the fix is worked on will it be clear exactly what needs to be used by scriptlets to deal harmoniously with property listener collisions. --- assets/resources/scriptlets.js | 2 -- src/js/scriptlet-filtering.js | 1 - 2 files changed, 3 deletions(-) diff --git a/assets/resources/scriptlets.js b/assets/resources/scriptlets.js index c4207507c..b7702bcd0 100644 --- a/assets/resources/scriptlets.js +++ b/assets/resources/scriptlets.js @@ -27,8 +27,6 @@ (function() { // >>>> start of private namespace 'use strict'; -// This a private safe available for use by all injected scriptlets. -const uBOSafe = new Map(); // jshint ignore: line diff --git a/src/js/scriptlet-filtering.js b/src/js/scriptlet-filtering.js index cde4b93a6..b1cd51419 100644 --- a/src/js/scriptlet-filtering.js +++ b/src/js/scriptlet-filtering.js @@ -396,7 +396,6 @@ out.unshift( '(function() {', '// >>>> start of private namespace', - 'const uBOSafe = new Map();', '', ); out.push(