Auto-detect subscription type based on serialized URL
The subscription's type is not detected when the object is created via
Subscription.fromObject(), which is the case when it is being created from serialized data in
What to change
Auto-detect subscription type based on serialized URL in
Subscription.fromObject() to do the same thing as
Hints for testers
Check if adblockpluschrome#43 (closed) is fixed.
Also make sure that snippet filters are not accepted from any non-circumvention lists. e.g. add a random list
https://example.com/foo.txt containing the filter
example.com#$#log Hello and see that, on loading a page from
Hello is not printed to the tab's console.