Issue 7150 - Adapted code to work with latest changes to Subscription.prototype.filters
This MR for #260 (closed) is based on https://gitlab.com/eyeo/adblockplus/abpui/adblockplusui/merge_requests/181 and contains the following changes:
- Use
Subscription.prototype.filters
generator directly, where possible - Convert result of
Subscription.prototype.filters
to array either when using array methods or to safely modify data while looping through it - Updated mock
- Removed unnecessary logic from mock