-
Notifications
You must be signed in to change notification settings - Fork 423
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
Malicious site protection address bar and privacy dashboard changes #3718
base: alessandro/malicious-site-protection-navigation-detection-async
Are you sure you want to change the base?
Conversation
This PR has been inactive for more than 7 days and will be automatically closed 7 days from now. |
b6dbf5c
to
5c07c05
Compare
95a56b5
to
014ea13
Compare
if privacyInfo.isSpecialErrorPageVisible { | ||
showCustomIcon(icon: .specialError) | ||
return | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
how does it look like for ssl error page now? I remember decision was not to show any icon, are we good there?
case daxLogo, shield, shieldWithDot | ||
case daxLogo, shield, shieldWithDot, alert | ||
|
||
fileprivate var staticImage: UIImage? { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why static?
@@ -1064,6 +1064,7 @@ class TabViewController: UIViewController { | |||
let privacyInfo = PrivacyInfo(url: url, | |||
parentEntity: entity, | |||
protectionStatus: makeProtectionStatus(for: host), | |||
malicousSiteThreatKind: specialErrorPageNavigationHandler.currentThreatKind, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo; malicous
Task/Issue URL: https://app.asana.com/0/1206329551987282/1208959082985728/f
Tech Design: https://app.asana.com/0/1206329551987282/1207273224076495/f
CC: @not-a-rootkit
Description:
This PR addresses the following:
Steps to test this PR:
Scenario 1 - Special Error Pages show globe icon in the address bar
Ensure that the below URLs show the globe icon in the Address Bar as per Figma Design
Scenario 2 - Malicious Sites show alert icon in the address bar
a. http://privacy-test-pages.site/security/badware/phishing.html
b. http://privacy-test-pages.site/security/badware/malware.html
Scenario 3 - Malicious Sites show updated privacy dashboard
a. http://privacy-test-pages.site/security/badware/phishing.html
b. http://privacy-test-pages.site/security/badware/malware.html
Scenario 4 - Accepting visiting SSL Insecure website (Bonus Point)
Definition of Done (Internal Only):
Copy Testing:
’
rather than'
Orientation Testing:
Device Testing:
OS Testing:
Theme Testing:
Internal references:
Software Engineering Expectations
Technical Design Template