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

Unified Diff: background.js

Issue 29349006: Issue 4297 - Fixed regression: "filterlistsReinitialized" test parameter broken (Closed)
Patch Set: Created Aug. 2, 2016, 5:42 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: background.js
===================================================================
--- a/background.js
+++ b/background.js
@@ -66,7 +66,6 @@
var params = {
blockedURLs: "",
- seenDataCorruption: false,
filterlistsReinitialized: false,
addSubscription: false,
filterError: false,
@@ -336,6 +335,10 @@
};
updateFromURL(modules.info);
+ modules.subscriptionInit = {
+ reinitialized: params.filterlistsReinitialized
+ };
+
global.Services = {
vc: {
compare: function(v1, v2)
@@ -380,9 +383,6 @@
knownSubscriptions[subscriptionUrl] = modules.subscriptionClasses.Subscription.fromURL(subscriptionUrl);
var customSubscription = knownSubscriptions["~user~786254"];
- global.seenDataCorruption = params.seenDataCorruption;
- global.filterlistsReinitialized = params.filterlistsReinitialized;
-
if (params.addSubscription)
{
// We don't know how long it will take for the page to fully load
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld