Closed
Bug 710589
Opened 13 years ago
Closed 13 years ago
Close button is still displayed in Telemetry notification when selecting Privacy Policy
Categories
(Firefox :: General, defect)
Firefox
General
Tracking
()
RESOLVED
FIXED
Firefox 13
People
(Reporter: virgil.dicu, Assigned: froydnj)
References
Details
Attachments
(1 file, 2 obsolete files)
(deleted),
patch
|
froydnj
:
review+
vladan
:
checkin+
|
Details | Diff | Splinter Review |
Mozilla/5.0 (X11; Linux x86_64; rv:11.0a1) Gecko/20111208 Firefox/11.0a1
The Telemetry notification still displays the close (x) button when selecting Learn more (which redirects to Privacy Policy) after receiving the two-state notification.
Bug 697860 states that the close button shouldn't be displayed anymore for the Telemetry Notification.
STR:
1. Start Firefox with a clean profile
2. Restart Firefox to dismiss the "Know your rights" notification and receive the two state Telemetry notification
3. Select Learn more. (This will redirect to the Privacy Policy)
The Telemetry close button is still displayed here. The button should be hidden as specified in bug 697860.
Comment 1•13 years ago
|
||
Probably not terrible to display the close button here as long as clicking close != a click on No for Telemetry.
Comment 2•13 years ago
|
||
Assignee | ||
Comment 4•13 years ago
|
||
This will make bug 725407 somewhat less ugly too.
Assignee: vdjeric → nfroyd
Status: NEW → ASSIGNED
Assignee | ||
Comment 5•13 years ago
|
||
Revised patch. I gave the function a number of parameters so that it's useful for bug 725407.
Attachment #581852 -
Attachment is obsolete: true
Attachment #600411 -
Flags: review?(dietrich)
Comment 6•13 years ago
|
||
Comment on attachment 600411 [details] [diff] [review]
patch
Review of attachment 600411 [details] [diff] [review]:
-----------------------------------------------------------------
a couple of style nits, r=me otherwise.
::: browser/components/nsBrowserGlue.js
@@ +776,5 @@
> const PREF_TELEMETRY_SERVER_OWNER = "toolkit.telemetry.server_owner";
> // This is used to reprompt users when privacy message changes
> const TELEMETRY_PROMPT_REV = 2;
>
> + function appendTelemetryNotification(aNotifyBox, message, buttons, hideclose) {
be consistent w/ prefixing parameters with "a" and camel-casing (eg, compare aNotifyBox with hideclose). look elsewhere in file for what styles to follow here.
@@ +777,5 @@
> // This is used to reprompt users when privacy message changes
> const TELEMETRY_PROMPT_REV = 2;
>
> + function appendTelemetryNotification(aNotifyBox, message, buttons, hideclose) {
> + let notification = aNotifyBox.appendNotification(message, "telemetry", null, aNotifyBox.PRIORITY_INFO_LOW, buttons);
80 char line length plz
Attachment #600411 -
Flags: review?(dietrich) → review+
Assignee | ||
Comment 7•13 years ago
|
||
Made style consistent by using non-a-prefixed things and broke lines as best I could. Carrying over r+.
Attachment #600411 -
Attachment is obsolete: true
Attachment #600497 -
Flags: review+
Comment 8•13 years ago
|
||
Comment on attachment 600497 [details] [diff] [review]
patch
https://hg.mozilla.org/integration/mozilla-inbound/rev/481410bfe37c
Attachment #600497 -
Flags: checkin+
Comment 9•13 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla13
Updated•13 years ago
|
Component: Telemetry → General
Product: Toolkit → Firefox
QA Contact: telemetry → general
Target Milestone: mozilla13 → ---
Updated•13 years ago
|
OS: Linux → All
Target Milestone: --- → Firefox 13
You need to log in
before you can comment on or make changes to this bug.
Description
•