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

Unified Diff: qunit/tests/indexedDBBackup.js

Issue 29907589: Issue 7054 - Update the adblockpluscore dependency to 5cb695da5a40, adblockplusui to f86abf2efdfd (Closed)
Patch Set: Address PS11 Comments Created Jan. 7, 2019, 10:11 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
« lib/devtools.js ('K') | « lib/whitelisting.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: qunit/tests/indexedDBBackup.js
===================================================================
--- a/qunit/tests/indexedDBBackup.js
+++ b/qunit/tests/indexedDBBackup.js
@@ -1,14 +1,14 @@
"use strict";
{
const {IndexedDBBackup} = require("../../lib/indexedDBBackup");
const info = require("info");
- const {FilterStorage} = require("../../adblockpluscore/lib/filterStorage");
+ const {filterStorage} = require("../../adblockpluscore/lib/filterStorage");
const {Filter} = require("../../adblockpluscore/lib/filterClasses");
const {Subscription, SpecialSubscription} =
require("../../adblockpluscore/lib/subscriptionClasses");
let backupDelay = 100;
let subscription = Subscription.fromObject({
title: "test",
url: "test.com",
@@ -79,18 +79,18 @@
"first write is deferred"
);
deepEqual(
data.content,
expectedFormat,
"saved data has the correct information"
);
- FilterStorage.removeSubscription(subscription);
- FilterStorage.removeSubscription(specialSubscription);
+ filterStorage.removeSubscription(subscription);
+ filterStorage.removeSubscription(specialSubscription);
}
},
{
done: assert.async(),
check(data)
{
ok(
saveTimes[1] - saveTimes[0] >= backupDelay,
@@ -115,12 +115,12 @@
}, 0);
};
Object.defineProperty(
browser.storage.local, "set",
{value: mockSave, enumerable: true}
);
- FilterStorage.addSubscription(specialSubscription);
- FilterStorage.addSubscription(subscription);
+ filterStorage.addSubscription(specialSubscription);
+ filterStorage.addSubscription(subscription);
}
}
« lib/devtools.js ('K') | « lib/whitelisting.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld