| 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"); |
| }); |