Allow opening about:protections from UITour websites
Categories
(Firefox :: Protections UI, enhancement, P1)
Tracking
()
People
(Reporter: ewright, Assigned: ewright)
References
Details
(Whiteboard: [protection-report][triage])
Attachments
(1 file)
47 bytes,
text/x-phabricator-request
|
lizzard
:
approval-mozilla-beta+
|
Details | Review |
We'd like to be able to share a link to the protection report.
- If a user is not on Firefox we'd like it to lead to a page giving a sample of the report and prompting a download.
- If the user is on an older version we'd like to lead them to a sample of the report and prompt them to upgrade.
- If a user is on 70+ Firefox it will lead to the report.
Step 1 and 2 will require building a website, this will be done elsewhere.
This bug is for implementing step 3, making about:protections link-able from external places.
Assignee | ||
Updated•5 years ago
|
Erica, could you share the link when you have it so the marketing team and set up the moz.org redirect?
Thanks.
Cindy
Assignee | ||
Comment 2•5 years ago
|
||
(In reply to chsiang from comment #1)
Erica, could you share the link when you have it so the marketing team and set up the moz.org redirect?
Thanks.
Cindy
I believe the link will simply be "about:protections", but I'll confirm that once it is functional.
(Unless you mean the link for the webpage, in that case marketing/moz.org team can pick whatever link they like, ex. mozilla.org/protection_report.)
Comment 3•5 years ago
•
|
||
We should not make about:protections directly linkable, instead I'd prefer to provide a special JS API via UITour that allows the site to open the protection report. So the marketing team would have to integrate that into their site.
Comment 4•5 years ago
|
||
I think this more or less amounts to adding a new event type for opening the report here: https://searchfox.org/mozilla-central/rev/325c1a707819602feff736f129cb36055ba6d94f/browser/components/uitour/UITour.jsm#376
Assignee | ||
Updated•5 years ago
|
Hi Justin,
Erica can provide you the API for Whats New Page.
Comment 6•5 years ago
|
||
The websites team has an incoming request to build a landing page for the protection report. In order to make the protection report landing page shareable by all web users, we should not send anyone directly into browser UI upon landing there. Instead, all users will get a protection report marketing page, with a UA-switched CTA:
- Fx <70 will be encouraged to update
- Fx70+ will be encouraged to view their protection report
- Non-Fx will be encouraged to download
We'll look in UITour docs for the appropriate API to accomplish the link. Thanks!
Assignee | ||
Comment 7•5 years ago
|
||
Pushed by ewright@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/4b003634e1a7 make Protection Report page sharable via UITour. r=johannh
Comment 9•5 years ago
|
||
bugherder |
Comment 10•5 years ago
|
||
Backed out changeset 4b003634e1a7 (bug 1577031) for browser-chrome failures related to UITour. CLOSED TREE
Log:
https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=265083374&repo=autoland&lineNumber=3055
Push with failures:
https://treeherder.mozilla.org/#/jobs?repo=autoland&revision=4b003634e1a7c78b4856be4419bdf6fa2e3c8797
Backout:
https://hg.mozilla.org/integration/autoland/rev/45c4f9b9d1d87a353261f1fb14739b7b9b7c76bd
Comment 12•5 years ago
|
||
I'm not sure, I think it wasn't very frequent in the beginning and just got merged.
Comment 13•5 years ago
|
||
Backout merged: https://hg.mozilla.org/mozilla-central/rev/45c4f9b9d1d8
Assignee | ||
Comment 14•5 years ago
|
||
I think I know why this happened, the RPM is trying to communicate with about:protections after it is gone - we've had similar things happen with this page in other tests. Waiting on a try build to finish.
Comment 15•5 years ago
|
||
Pushed by ewright@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e6aaee8a6695 make Protection Report page sharable via UITour. r=johannh
Comment 16•5 years ago
|
||
bugherder |
Assignee | ||
Comment 17•5 years ago
|
||
Comment on attachment 9089506 [details]
Bug 1577031 - make Protection Report page sharable via UITour.
Beta/Release Uplift Approval Request
- User impact if declined: This makes the about:protections page linkable. We can now share a link for marketing purposes, we will be linking to it from the what's new page and from moz.org. We'd like to do that with the 70 release in conjunction with Skyline efforts.
- Is this code covered by automated tests?: Yes
- Has the fix been verified in Nightly?: No
- Needs manual test from QE?: No
- If yes, steps to reproduce:
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): fairly simple patch, has a test, repeating a pattern already implemented for the about:newtab page.
- String changes made/needed: none
Comment 18•5 years ago
|
||
Comment on attachment 9089506 [details]
Bug 1577031 - make Protection Report page sharable via UITour.
Makes about:protections linkable/sharable. Support for Skyline.
OK for beta uplift (beta 6)
Comment 19•5 years ago
|
||
bugherder uplift |
Updated•5 years ago
|
Updated•5 years ago
|
Comment 20•5 years ago
|
||
Can you help me with some way to verify the change? Thanks.
Assignee | ||
Comment 21•5 years ago
•
|
||
(In reply to Bodea Daniel [:danibodea] from comment #20)
Can you help me with some way to verify the change? Thanks.
Sure, open a browser console and type in UITour.showProtectionReport(window)
. It should behave in the same way that UITour.showNewTab(window)
does, except opening about:protections
rather than about:newtab
.
Comment 22•5 years ago
|
||
Using the "UITour.showProtectionReport(window)" command in Browser Console does the exact same thing as opening the "about:protections" page.
Nightly v70.0a1 from 2019-09-15 and Beta v70.0b6 builds show the Privacy Protections section (that contains the current Protection Level and a report of the blocked trackers in the last week), the "Look out for data breaches" section with the "Sign Up for Breach Alerts" button and the "Never forget a password again" section with the "View Logins" button and an encouragement to use the Lockwise app.
The Release v69.0 build also opens the same page that shows the Privacy Protections section (that contains the current Protection Level and a report of the blocked trackers in the last week), but does NOT show the "Look out for data breaches" section or the "Never forget a password again" section.
I will assume that this is the intended/expected behavior after the implementation and set the bug's status as VERIFIED. Please confirm that this is the expected result. Thank you.
Assignee | ||
Comment 23•5 years ago
|
||
(In reply to Bodea Daniel [:danibodea] from comment #22)
Using the "UITour.showProtectionReport(window)" command in Browser Console does the exact same thing as opening the "about:protections" page.
Nightly v70.0a1 from 2019-09-15 and Beta v70.0b6 builds show the Privacy Protections section (that contains the current Protection Level and a report of the blocked trackers in the last week), the "Look out for data breaches" section with the "Sign Up for Breach Alerts" button and the "Never forget a password again" section with the "View Logins" button and an encouragement to use the Lockwise app.
The Release v69.0 build also opens the same page that shows the Privacy Protections section (that contains the current Protection Level and a report of the blocked trackers in the last week), but does NOT show the "Look out for data breaches" section or the "Never forget a password again" section.
I will assume that this is the intended/expected behavior after the implementation and set the bug's status as VERIFIED. Please confirm that this is the expected result. Thank you.
Thank you for testing this. The function UITour.showProtectionReport(window)
is the part of this bug that needed to be tested. At the moment, this function is not being used anywhere, but it will be used by Moz.org and our whats new page soon. about:protections existing in 69 as well as 70 and 71 is also expected.
Updated•4 years ago
|
Description
•