Closed
Bug 828101
Opened 12 years ago
Closed 12 years ago
Initialize Firefox Health Report after session restore
Categories
(Firefox Health Report Graveyard :: Client: Desktop, defect)
Firefox Health Report Graveyard
Client: Desktop
Tracking
(firefox20 fixed)
RESOLVED
FIXED
Firefox 21
Tracking | Status | |
---|---|---|
firefox20 | --- | fixed |
People
(Reporter: gps, Assigned: gps)
References
Details
Attachments
(1 file)
(deleted),
patch
|
rnewman
:
review+
akeybl
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
For performance reasons, Vladan recommends we start Firefox Health Report after session restore, not final-ui-startup. This patch accomplishes this.
This will influence our metrics for session active/idle time since we may miss observers fired between app startup and session restore. We had that problem already. This just makes it worse. When we rewrite session code in bug 827157, we should come up with a more robust solution.
Attachment #699523 -
Flags: review?(rnewman)
Assignee | ||
Updated•12 years ago
|
Comment 1•12 years ago
|
||
Comment on attachment 699523 [details] [diff] [review]
Change observer notification, v1
Review of attachment 699523 [details] [diff] [review]:
-----------------------------------------------------------------
Seems formulaic. Is sessionstore-windows-restored sent when you opt *not* to restore a previous session?
https://developer.mozilla.org/en-US/docs/Observer_Notifications is ambiguous.
r+ conditional on that being true.
Attachment #699523 -
Flags: review?(rnewman) → review+
Comment 2•12 years ago
|
||
If there is any interest, I can expose a promise that is resolved once session restore is complete.
Assignee | ||
Comment 3•12 years ago
|
||
(In reply to David Rajchenbach Teller [:Yoric] from comment #2)
> If there is any interest, I can expose a promise that is resolved once
> session restore is complete.
That would be interesting. But, we need something today that works. Is or is not the "sessionstore-windows-restored" event always fired?
Comment 4•12 years ago
|
||
(In reply to Gregory Szorc [:gps] from comment #3)
> That would be interesting. But, we need something today that works. Is or is
> not the "sessionstore-windows-restored" event always fired?
It's always fired, we rely on it in Telemetry ping http://mxr.mozilla.org/mozilla-central/source/toolkit/components/telemetry/TelemetryPing.js#1058
Assignee | ||
Comment 5•12 years ago
|
||
Whiteboard: [fixed in services]
Assignee | ||
Comment 6•12 years ago
|
||
Comment on attachment 699523 [details] [diff] [review]
Change observer notification, v1
[Approval Request Comment]
See comment in bug 804745.
Attachment #699523 -
Flags: approval-mozilla-aurora?
Assignee | ||
Comment 7•12 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Whiteboard: [fixed in services]
Target Milestone: --- → mozilla21
Comment 8•12 years ago
|
||
Comment on attachment 699523 [details] [diff] [review]
Change observer notification, v1
https://bugzilla.mozilla.org/show_bug.cgi?id=804745#c37
Attachment #699523 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Comment 9•12 years ago
|
||
Pushed to Aurora:
http://hg.mozilla.org/releases/mozilla-aurora/rev/50db9b596a5d
status-firefox20:
--- → fixed
Updated•12 years ago
|
Component: Metrics and Firefox Health Report → Client: Desktop
Product: Mozilla Services → Firefox Health Report
Target Milestone: mozilla21 → Firefox 21
Updated•6 years ago
|
Product: Firefox Health Report → Firefox Health Report Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•