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

Fix missing 'domcontentloaded' event listener removal from disableBlockingInPage #1903

Merged
merged 2 commits into from May 4, 2021

Conversation

kmosunoff
Copy link
Contributor

No description provided.

packages/adblocker-puppeteer/adblocker.ts Outdated Show resolved Hide resolved
packages/adblocker-puppeteer/test/adblocker.test.ts Outdated Show resolved Hide resolved
packages/adblocker-puppeteer/test/adblocker.test.ts Outdated Show resolved Hide resolved
@remusao
Copy link
Collaborator

remusao commented May 3, 2021

Thanks! The fix looks good, I had a few comments related to tests and some changes which do not seem related to the issue at hand.

@remusao
Copy link
Collaborator

remusao commented May 3, 2021

Regarding the tests, @Tyler-Murphy has added a setup with local http server in another PR #1885, which maybe we can reuse here to test the fix for CSS injection. What do you think?

@kmosunoff
Copy link
Contributor Author

Oh sorry, I hadn't noticed your suggestion regarding the tests and invented my own bicycle :D

@remusao remusao changed the title adblocker-puppeteer: fix incomplete blocking disabling Fix missing 'domcontentloaded' event listener removal from disableBlockingInPage May 4, 2021
@remusao remusao merged commit e1a676a into ghostery:master May 4, 2021
@remusao remusao added the PR: Bug Fix 🐛 Increment patch version when merged label May 4, 2021
@remusao
Copy link
Collaborator

remusao commented May 4, 2021

Thanks a lot for this fix @kmosunoff, much appreciated! The change will be released shortly.

@kmosunoff
Copy link
Contributor Author

Thank you @remusao for your attention and reviews!

@remusao
Copy link
Collaborator

remusao commented May 4, 2021

Released as v1.20.5 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: Bug Fix 🐛 Increment patch version when merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants