Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: qunit/common.js

Issue 29907589: Issue 7054 - Update the adblockpluscore dependency to 5cb695da5a40, adblockplusui to f86abf2efdfd (Closed)
Patch Set: Rebase, address PS9 comments Created Dec. 19, 2018, 4:21 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/whitelisting.js ('k') | qunit/tests/indexedDBBackup.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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()
« no previous file with comments | « lib/whitelisting.js ('k') | qunit/tests/indexedDBBackup.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld