| Index: qunit/common.js |
| =================================================================== |
| --- a/qunit/common.js |
| +++ b/qunit/common.js |
| @@ -12,27 +12,27 @@ |
| * GNU General Public License for more details. |
| * |
| * You should have received a copy of the GNU General Public License |
| * along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>. |
| */ |
| "use strict"; |
| -const {FilterStorage} = require("../adblockpluscore/lib/filterStorage"); |
| +const {filterStorage} = require("../adblockpluscore/lib/filterStorage"); |
| const {Subscription} = require("../adblockpluscore/lib/subscriptionClasses"); |
| const {Filter} = require("../adblockpluscore/lib/filterClasses"); |
| const {defaultMatcher} = require("../adblockpluscore/lib/matcher"); |
| const {ElemHide} = require("../adblockpluscore/lib/elemHide"); |
| const {Prefs} = require("../lib/prefs"); |
| function prepareFilterComponents(keepListeners) |
| { |
| - FilterStorage.subscriptions = []; |
| - FilterStorage.knownSubscriptions = Object.create(null); |
| + filterStorage.subscriptions = []; |
|
Manish Jethani
2018/12/20 17:21:40
Regarding this, I notice that `filterStorage.subsc
kzar
2018/12/20 17:50:46
If it's new since the dependency update that `filt
Jon Sonesen
2018/12/20 18:22:14
I am actually working on this, I had noticed it as
|
| + filterStorage.knownSubscriptions = Object.create(null); |
| Subscription.knownSubscriptions = Object.create(null); |
| Filter.knownFilters = Object.create(null); |
| defaultMatcher.clear(); |
| ElemHide.clear(); |
| } |
| function restoreFilterComponents() |