Closed
Bug 948009
Opened 12 years ago
Closed 12 years ago
Record length of time spent with customize dialog open.
Categories
(Firefox :: Toolbars and Customization, defect)
Tracking
()
RESOLVED
FIXED
Future
People
(Reporter: mconley, Assigned: mconley)
References
Details
(Whiteboard: [Non-Australis-Only][qa-])
Attachments
(1 file, 1 obsolete file)
4.98 KB,
patch
|
jaws
:
review+
lsblakk
:
approval-mozilla-aurora+
lsblakk
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
We want UITelemetry on how long the customization dialog is open for.
Comment 1•12 years ago
|
||
This can be skewed really badly if someone leaves it open and walks away from their machine. Should we only track time during mousemove events?
Assignee | ||
Comment 2•12 years ago
|
||
(In reply to Jared Wein [:jaws] from comment #1)
> This can be skewed really badly if someone leaves it open and walks away
> from their machine. Should we only track time during mousemove events?
While this is true, after talking with bwinton, we're thinking that these events are rare enough that we can cull them as outliers.
Assignee | ||
Comment 3•12 years ago
|
||
Assignee | ||
Comment 4•12 years ago
|
||
Attachment #8346125 -
Attachment is obsolete: true
Assignee | ||
Comment 5•12 years ago
|
||
Comment on attachment 8346126 [details] [diff] [review]
Patch v1.1
Batter up!
Attachment #8346126 -
Flags: review?(jaws)
Comment 6•12 years ago
|
||
Comment on attachment 8346126 [details] [diff] [review]
Patch v1.1
Review of attachment 8346126 [details] [diff] [review]:
-----------------------------------------------------------------
Please make sure to put "[Holly]" in the commit message.
::: browser/modules/BrowserUITelemetry.jsm
@@ +223,5 @@
>
> +// Weakly maps browser windows to objects whose keys are relative
> +// timestamps for when some kind of session started. For example,
> +// when a customization session started. That way, when the window
> +// exists customization mode, we can determine how long the session
s/exists/exits/
@@ +452,5 @@
>
> + startCustomizing: function(aWindow) {
> + this.countCustomizationEvent("start");
> + let durationMap = WINDOW_DURATION_MAP.get(aWindow);
> + durationMap.customization = Date.now();
Please use aWindow.performance.now() instead (here and below) as Date.now() is not guaranteed to be monotonically increasing.
Attachment #8346126 -
Flags: review?(jaws) → review+
Assignee | ||
Comment 7•12 years ago
|
||
Done! As usual, fantastic reviewing time.
Landed on Holly as https://hg.mozilla.org/projects/holly/rev/3f0c7e1df6d6
Status: NEW → ASSIGNED
Assignee | ||
Comment 8•12 years ago
|
||
Comment on attachment 8346126 [details] [diff] [review]
Patch v1.1
[Approval Request Comment]
Bug caused by (feature/regressing bug #):
None. This gives BrowserUITelemetry the ability to record durations spent with the customization dialog open.
User impact if declined:
None.
Testing completed (on m-c, etc.):
Just manual testing.
Risk to taking this patch (and alternatives if risky):
Very low.
String or IDL/UUID changes made by this patch:
None.
Attachment #8346126 -
Flags: approval-mozilla-beta?
Attachment #8346126 -
Flags: approval-mozilla-aurora?
Assignee | ||
Updated•12 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 9•12 years ago
|
||
Removing Australis:P1 whiteboard tag because these already block an Australis:P1 bug, and being redundant isn't helpful.
Whiteboard: [Australis:P1][Non-Australis-Only] → [Non-Australis-Only]
Updated•12 years ago
|
Target Milestone: --- → Future
Updated•12 years ago
|
Attachment #8346126 -
Flags: approval-mozilla-beta?
Attachment #8346126 -
Flags: approval-mozilla-beta+
Attachment #8346126 -
Flags: approval-mozilla-aurora?
Attachment #8346126 -
Flags: approval-mozilla-aurora+
Assignee | ||
Comment 10•12 years ago
|
||
Landed in mozilla-beta as https://hg.mozilla.org/releases/mozilla-beta/rev/ae8fdae4f2fb
status-firefox27:
--- → fixed
Assignee | ||
Comment 11•12 years ago
|
||
Landed in mozilla-aurora as https://hg.mozilla.org/releases/mozilla-aurora/rev/c6e54e98babe
status-firefox28:
--- → fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•