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

Scope exemptions to tab #5585

Conversation

CrisBarreiro
Copy link
Contributor

@CrisBarreiro CrisBarreiro commented Feb 3, 2025

Task/Issue URL: https://app.asana.com/0/1205008441501016/1209289574297312

Description

Scope exemptions per tab, not per app

Steps to test this PR

Feature 1

Copy link
Contributor Author

CrisBarreiro commented Feb 3, 2025

@CrisBarreiro CrisBarreiro force-pushed the feature/cris/malicious-site-protection/scope-exemptions-to-tab branch from 1e7059b to 99fddc2 Compare February 3, 2025 16:12
Copy link
Contributor

@cmonfortep cmonfortep left a comment

Choose a reason for hiding this comment

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

LGTM Thanks!

@@ -223,6 +225,10 @@ class WebViewRequestInterceptor(
url?.let { webViewClientListener?.onReceivedMaliciousSiteWarning(it, feed, exempted) }
}

override fun addExemptedMaliciousSite(url: Uri, feed: Feed) {
maliciousSiteBlockerWebViewIntegration.onSiteExempted(url, feed)
Copy link
Contributor

Choose a reason for hiding this comment

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

Posted on another PR (so depends on that answer), I assume we need to pass Feed to exempted logic.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, so that when a URL is identified as exempted, we can setup the privacy dashboard accordingly

@CrisBarreiro CrisBarreiro merged commit 47c4dfc into feature/cris/malicious-site-protection/add-feed-to-return-type Feb 4, 2025
6 of 7 checks passed
@CrisBarreiro CrisBarreiro deleted the feature/cris/malicious-site-protection/scope-exemptions-to-tab branch February 4, 2025 12:34
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.

2 participants