DescriptionThis contains two changes:
1. Load the ABP JS code in FilterEngine instead of JsEngine, since it kinda belongs there now.
2. Make the JS loading optional, and actually don't do it by default, since it doesn't work yet. I added the define FILTER_ENGINE_STUBS for that. As the README says, to use the proper Adblock Plus and not the stubs, this'll do:
make test CXXFLAGS="-DFILTER_ENGINE_STUBS=0"
We can obviously get rid of that and the stubs at some point.
Patch Set 1 #
MessagesTotal messages: 3
|