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

Unified Diff: chrome/content/tests/synchronizer.js

Issue 6309214725079040: Issue 1409 - Fix some errors in adblockplustest (Closed)
Patch Set: Created Sept. 19, 2014, 10:35 a.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 | « chrome/content/tests/popupBlocker.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/content/tests/synchronizer.js
===================================================================
--- a/chrome/content/tests/synchronizer.js
+++ b/chrome/content/tests/synchronizer.js
@@ -354,17 +354,17 @@
equal(FilterStorage.subscriptions[0].url, "http://example.com/redirected", "Redirect followed");
deepEqual(requests, [0.1, 8.1], "Resulting requests");
testRunner.registerHandler("/redirected", function(metadata)
{
return [Cr.NS_OK, 200, "[Adblock]\nfoo\n!Redirect: http://example.com/subscription\nbar"];
})
- let subscription = Subscription.fromURL("http://example.com/subscription");
+ subscription = Subscription.fromURL("http://example.com/subscription");
resetSubscription(subscription);
FilterStorage.removeSubscription(FilterStorage.subscriptions[0]);
FilterStorage.addSubscription(subscription);
testRunner.runScheduledTasks(2);
equal(FilterStorage.subscriptions[0], subscription, "Redirect not followed on redirect loop");
equal(subscription.downloadStatus, "synchronize_connection_error", "Download status after redirect loop");
});
« no previous file with comments | « chrome/content/tests/popupBlocker.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld