brave-experiments / ad-block

Ad block engine used in the Brave browser for ABP filter syntax based lists like EasyList.
https://www.brave.com
Mozilla Public License 2.0
239 stars 95 forks source link

Only determine third-party when needed #188

Closed bbondy closed 5 years ago

bbondy commented 5 years ago

See also: https://github.com/brave/brave-core/pull/1813

See also: https://github.com/brave/brave-browser/issues/3535

Basically this will only set the FOThirdParty and FONotThirdParty flags internally if we didn't specify them when calling match. This is to get past a problem where the library doesn't calculate it correctly with an easy fix in brave-core.