DescriptionThis builds on https://codereview.adblockplus.org/29712655/
There are three types of mutations: "attributes", "characterData", and "childList"
If only an attribute has changed, we don't have to process -abp-contains, for example. Similarly if only character data has changed, it should not affect -abp-has (unless it contains a nested -abp-contains) or -abp-properties. We can avoid doing a lot of processing by filtering out the patterns that do not match the given DOM mutations.
Patch Set 1 #
Total comments: 2
Patch Set 2 : Fix formatting #Patch Set 3 : Rebase #
Total comments: 1
Patch Set 4 : Rebase #Patch Set 5 : Add tests #
Total comments: 2
Patch Set 6 : Process plain selectors on DOM mutations #
Total comments: 1
MessagesTotal messages: 9
|