Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove exception for Tracking Protection #1770

Merged
merged 5 commits into from
Feb 25, 2019
Merged

Remove exception for Tracking Protection #1770

merged 5 commits into from
Feb 25, 2019

Conversation

bbondy
Copy link
Member

@bbondy bbondy commented Feb 24, 2019

Fix: brave/brave-browser#3475
Related PR: brave/adblock-lists#45

Related issue: brave/brave-browser#1108

Submitter Checklist:

  • Submitted a ticket for my issue if one did not already exist.
  • Used Github auto-closing keywords in the commit message.
  • Added/updated tests for this change (for new code or code which already has tests).
  • Verified that these changes build without errors on
    • Windows
    • macOS
    • Linux
  • Verified that these changes pass automated tests (npm test brave_unit_tests && npm test brave_browser_tests) on
    • Windows
    • macOS
    • Linux
  • Verified that all lint errors/warnings are resolved (npm run lint)
  • Ran git rebase master (if needed).
  • Ran git rebase -i to squash commits (if needed).
  • Tagged reviewers and labelled the pull request as needed.
  • Request a security/privacy review as needed.
  • Add appropriate QA labels (QA/Yes or QA/No) to include the closed issue in milestone

Test Plan:

See brave/brave-browser#3475

Reviewer Checklist:

  • New files have MPL-2.0 license header.
  • Request a security/privacy review as needed.
  • Adequate test coverage exists to prevent regressions
  • Verify test plan is specified in PR before merging to source

@diracdeltas
Copy link
Member

For transparency, I would like to keep our documentation up-to-date on what Brave unblocks for webcompatibility that is not blocked in upstream adblock/tp. https://github.com/brave/brave-browser/wiki/Web-compatibility-issues-with-tracking-protection should be updated when this is merged to say that as of <date this was merged>, exceptions to tracking protection are handled by being added in adblock exceptions (to https://github.com/brave/adblock-lists/blob/master/brave-unbreak.txt ?)

@diracdeltas
Copy link
Member

+1 on this approach though

@bbondy
Copy link
Member Author

bbondy commented Feb 24, 2019

Just adding some tests, so I don't want approvals until that's done, but the code changes and plan are ready. See brave/brave-browser#3475 for a detailed description of everything.

@bbondy bbondy force-pushed the exception-filters branch 2 times, most recently from 24422b6 to 49beb4c Compare February 25, 2019 02:18
Copy link
Member

@SergeyZhukovsky SergeyZhukovsky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have concerns about speed, but we will check that out on brave-core first and apply to other platforms after. There are optimizations fixes coming to ad block lib as well. Should be good.

@bbondy bbondy changed the title WIP: Remove exception for Tracking Protection Remove exception for Tracking Protection Feb 25, 2019
@bbondy
Copy link
Member Author

bbondy commented Feb 25, 2019

This is ready to go, tests were added.

Copy link
Contributor

@emerick emerick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Move hardcoded exceptions rules to more specific rules and unify exception handling
5 participants