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

Autoconsent: prompt only if an actual cookie popup is found #565

Merged
merged 1 commit into from
May 3, 2022

Conversation

muodov
Copy link
Member

@muodov muodov commented May 3, 2022

Task/Issue URL: https://app.asana.com/0/0/1202088718678388/f
Tech Design URL:
CC:

Description:

Previously we showed the prompt after detecting a CMP. Now we wait until there's an actual visible popup.

Steps to test this PR:

  1. Open https://babaa.es/ from the US, and observe no popups/prompts
  2. Open https://babaa.es/ from the EU, and observe the prompt

Testing checklist:

  • Test with Release configuration
  • Test proper deallocation of tabs
  • Make sure committed submodule changes are desired

Internal references:

Software Engineering Expectations
Technical Design Template
When ready for review, remember to post the PR in MM

@muodov muodov requested review from sammacbeth and tomasstrba and removed request for sammacbeth and tomasstrba May 3, 2022 13:50
@muodov
Copy link
Member Author

muodov commented May 3, 2022

I'm looking for a way to test this, but Swift is new to me, and I didn't find similar tests to copy-paste. The change is fairly simple, so maybe it's ok like this, but I'm open to suggestions :) @tomasstrba

Copy link
Contributor

@sammacbeth sammacbeth left a comment

Choose a reason for hiding this comment

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

Thanks for this!

@tomasstrba
Copy link
Contributor

@muodov, lgtm! 👍

@muodov muodov merged commit c8aec1f into develop May 3, 2022
@muodov muodov deleted the muodov/early-cookie-prompt branch May 3, 2022 15:56
samsymons added a commit that referenced this pull request May 4, 2022
# By Sam Symons (2) and others
# Via Sam Symons (2) and GitHub (1)
* develop:
  Autoconsent: prompt only when if an actual cookie popup is found (#565)
  Fix incorrect action name for selfTest (#561)
  BSK: Check array items for surrogate methods (#563)
  BSK: Check array items for surrogate methods (#563)
  Navigation failure handled in navigation bar buttons and their menus (#540)
  Version 0.23.1
  Ensure that we don’t trip an assertion failure when Fireproofing. (#559)
  Tweak autoconsent events (#554)
  Remove Punycode reference after recent bump of BSK (#560)
  If navigationAction does not target main frame open in new tab (#557)
  Use macos-12 environment in GitHub Actions workflows (#556)
  Version 0.23.0

# Conflicts:
#	DuckDuckGo.xcodeproj/project.pbxproj
@ayoy ayoy unassigned muodov Feb 23, 2023
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.

3 participants