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

Unified Diff: test/stub-modules/prefs.js

Issue 29501607: Issue 5459 - Add support to show a notification based on the number of ads blocked (Closed)
Patch Set: Show notification for blockedTotal* only if Prefs.show_statsinpopup Created Aug. 24, 2017, 4:35 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 | « test/notification.js ('k') | test/stub-modules/utils.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/stub-modules/prefs.js
diff --git a/test/stub-modules/prefs.js b/test/stub-modules/prefs.js
index 2925a1385d4a4bc87b64a299ad363f8f30315286..fbddb852a3eb93eb826999f89e6a29716710b572 100644
--- a/test/stub-modules/prefs.js
+++ b/test/stub-modules/prefs.js
@@ -10,7 +10,9 @@ let Prefs = exports.Prefs = {
subscriptions_fallbackurl: "",
notificationurl: "http://example.com/notification.json",
notificationdata: {},
- notifications_ignoredcategories: []
+ notifications_ignoredcategories: [],
+ blocked_total: 10,
+ show_statsinpopup: true
};
for (let key of Object.keys(Prefs))
« no previous file with comments | « test/notification.js ('k') | test/stub-modules/utils.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld