Load privacy policy dynamically in the crash reporter prompt

RESOLVED INCOMPLETE

Status

defect
RESOLVED INCOMPLETE
5 years ago
2 years ago

People

(Reporter: TimAbraldes, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [feature])

In bug 903426 we implemented an in-content page asking users whether they want to enable the crash reporter. That page contains a link that opens up a lightbox with the contents of the Firefox Privacy Policy inside of it. Instead of having that content live statically in metroFx, we should load it dynamically from the privacy policy hosted at mozilla.org.

As for implementation, we may want to check the value of this pref [1] (or a similar one), load that URL in an XHR, get the contents of the <div id="content">, and populate the lightbox with those contents.

Some questions to answer:
 - What should we show while we're trying to load the privacy policy page (this might take non-negligible time depending on connection speed)?
 - What should we show if we're not able to load the privacy policy page?

[1] https://mxr.mozilla.org/mozilla-central/source/browser/app/profile/firefox.js?rev=dcfc0e0e663d#952
Summary: Load privacy policy dynamically → Load privacy policy dynamically in the crash reporter prompt
Blocks: metrobacklog
No longer blocks: metrov1backlog
Whiteboard: [triage]
Whiteboard: [feature]
Mass close of bugs in obsolete product https://bugzilla.mozilla.org/show_bug.cgi?id=1350354
Status: NEW → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.