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 DNT header test #2047

Merged
merged 5 commits into from
Sep 7, 2018
Merged

Fix DNT header test #2047

merged 5 commits into from
Sep 7, 2018

Conversation

ghostwords
Copy link
Member

@ghostwords ghostwords commented Jun 1, 2018

Fixes failures like https://travis-ci.org/EFForg/privacybadger/jobs/386391284#L562 by waiting until Badger reports listeners are ready.

Fixes #1240.

What about #1845: better, worse, or no change?

Should fix JS errors when restoring a browser session.

Also lets tests check badger.INITIALIZED to see if listeners are ready.
Unnecesary now that we wait to initialize listeners until `badger` is
ready.
@ghostwords
Copy link
Member Author

ghostwords commented Jun 23, 2018

Conflicts:
	src/js/background.js
	tests/selenium/dnt_test.py
@ghostwords ghostwords merged commit 79452a6 into master Sep 7, 2018
ghostwords added a commit that referenced this pull request Sep 7, 2018
Fix sporadic DNT header test failures by having Badger's INITIALIZED
flag account for listener initialization and then checking INITIALIZED
before performing the test.
@ghostwords ghostwords deleted the fix-dnt-header-test branch September 7, 2018 17:05
ghostwords added a commit that referenced this pull request Sep 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants