DescriptionTo test this:
1. Load the extension with the default subscriptions
2. Take a heap snapshot in DevTools
3. Subscribe to EasyList China at https://adblockplus.org/subscriptions
4. Take a second heap snapshot
5. Delete EasyList China
6. Take a third heap snapshot
When you search for "Subscription" in the heap snapshot, you'll notice that only the second snapshot has one more Subscription object for EasyList China. It is gone again in the third snapshot.
Be sure to run garbage collection manually before taking each heap snapshot.
Patch Set 1 #
Total comments: 1
Patch Set 2 : Simplify #Patch Set 3 : Remove duplicate subscription entries from Filter object #Patch Set 4 : Add tests #Patch Set 5 : Add test for duplicate subscriptions #Patch Set 6 : Remove Subscription object before emitting "subscription.removed" event #Patch Set 7 : Rebase #Patch Set 8 : Improve tests #MessagesTotal messages: 6
|