"The address isn't valid" page displayed if we open Privacy menu from about:telemetry
Categories
(Firefox for Android Graveyard :: Settings and Preferences, defect, P1)
Tracking
(firefox66 unaffected, firefox67 unaffected, firefox68+ verified)
Tracking | Status | |
---|---|---|
firefox66 | --- | unaffected |
firefox67 | --- | unaffected |
firefox68 | + | verified |
People
(Reporter: sflorean, Assigned: berning5)
References
(Regression)
Details
(Keywords: regression, Whiteboard: [bcs:p2])
Attachments
(2 files)
Environment:
Device:
- Nokia 6 (Android 7.1.1);
- Nexus 9(Android 7.1.1);
- Samsung Galaxy Note 8 (Android 9);
- Xiaomi Mi4i (Android 5.0.2);
Build: Nightly 68.0a1 (2019-04-16);
Steps to reproduce:
- Go to about:telemetry;
- Tap "Enabled" hyperlink.
Expected result:
The Privacy menu is displayed.
Actual result:
"The address isn't valid" page is displayed.
Performed a regression window and from pushlog this issue is regressed by bug 1523741.
Reporter | ||
Comment 1•6 years ago
|
||
Avery Berninger, can you take a look, please?
Comment 2•6 years ago
|
||
From the diff:
+++ b/toolkit/content/aboutTelemetry.js
...
/**
* Updates the button & text at the top of the page to reflect Telemetry state.
*/
render() {
let settingsExplanation = document.getElementById("settings-explanation");
- let uploadEnabled = this.getStatusString(TelemetrySend.sendingEnabled());
let extendedEnabled = Services.telemetry.canRecordExtended;
- let collectedData = bundle.GetStringFromName(extendedEnabled ? "prereleaseData" : "releaseData");
- let explanation = bundle.GetStringFromName("settingsExplanation");
- let fragment = BrowserUtils.getLocalizedFragment(document, explanation, collectedData, this.convertStringToLink(uploadEnabled));
- settingsExplanation.appendChild(fragment);
+ let datacase = extendedEnabled ? "prerelease" : "release";
+ let uploadcase = TelemetrySend.sendingEnabled() ? "enabled" : "disabled";
+
+ document.l10n.setAttributes(settingsExplanation, "about-telemetry-settings-explanation", {datacase, uploadcase});
We shouldn't hardcode about:preferences#privacy, and instead ensure this code:
continues to run for clicks on this link. We can probably just get away with removing the href
from the markup and adding the class
attribute on which that code relies, though it'll need testing. We should also remove https://searchfox.org/mozilla-central/rev/d33d470140ce3f9426af523eaa8ecfa83476c806/toolkit/content/aboutTelemetry.js#217-223 which is now unused, as far as I can tell.
Updated•6 years ago
|
Updated•6 years ago
|
Comment 4•6 years ago
|
||
[Tracking Requested - why for this release]:
This is a regression in Fennec 68 from Fluent L10n bug 1523741.
Assignee | ||
Comment 5•6 years ago
|
||
Updated•6 years ago
|
Comment 7•6 years ago
|
||
bugherder |
Comment 8•6 years ago
|
||
Can you verify this has been fixed once this hits android nightlies? Thanks.
Reporter | ||
Updated•6 years ago
|
Reporter | ||
Updated•6 years ago
|
Reporter | ||
Comment 9•6 years ago
|
||
Verified as fixed on latest Nightly build (68.0a1 - 04/23).
Devices:
- Xiaomi Mi4i (Android 5.0.2);
- Nexus 6P (Android 8.1.0);
- Sony Xperia Z5 Premium (Android 7.1.1);
Updated•4 years ago
|
Description
•