Closed
Bug 1097587
Opened 10 years ago
Closed 10 years ago
UITour: Add some logging to ease debugging
Categories
(Firefox :: General, enhancement)
Firefox
General
Tracking
()
People
(Reporter: MattN, Assigned: MattN)
References
Details
Attachments
(1 file, 2 obsolete files)
UITour is complex enough that it could use some debug logging to trace what is happening. I have a patch using console.jsm so that we get rich output for the various Objects which are logged (instead of "[Object object]"). I converted the existing reportError usage so they also get the logging prefix.
Flags: qe-verify-
Flags: firefox-backlog+
Assignee | ||
Comment 1•10 years ago
|
||
Attachment #8521331 -
Flags: review?(bmcbride)
Assignee | ||
Comment 2•10 years ago
|
||
/r/493 - Bug 1097587 - UITour: Add some logging to ease debugging. r=Unfocused Pull down this commit: hg pull review -r e4966c23032b80955a299ac98a3ab7b708a8c8b6
Assignee | ||
Comment 3•10 years ago
|
||
/r/493 - Bug 1097587 - UITour: Add some logging to ease debugging. r=Unfocused Pull down this commit: hg pull review -r e4966c23032b80955a299ac98a3ab7b708a8c8b6
Assignee | ||
Comment 4•10 years ago
|
||
/r/493 - Bug 1097587 - UITour: Add some logging to ease debugging. r=Unfocused Pull down this commit: hg pull review -r 82a923d03533d5f68d824a88c7ff0c3538992bc4
Comment 5•10 years ago
|
||
I had this old patch sitting around, that adds logging to a few more places that I found useful. You may wish to add these to your patch.
Comment 6•10 years ago
|
||
https://reviewboard.mozilla.org/r/493/#review227 Happy with this as-is, but extra happy if you add to it :) ::: browser/modules/UITour.jsm (Diff revision 2) > - }).then(null, Cu.reportError); > + }).then(null, log.error); Bonus points if you convert cases of this to use .catch()
Updated•10 years ago
|
Attachment #8521331 -
Flags: review?(bmcbride) → review+
Comment 7•10 years ago
|
||
https://reviewboard.mozilla.org/r/491/#review229 Ship It!
Assignee | ||
Comment 8•10 years ago
|
||
Thanks. I added more logging from your patch and switched to .catch https://hg.mozilla.org/integration/fx-team/rev/8b35d3ba140d
Flags: in-testsuite-
Whiteboard: [fixed-in-fx-team]
Assignee | ||
Updated•10 years ago
|
status-firefox35:
--- → affected
status-firefox36:
--- → fixed
Assignee | ||
Updated•10 years ago
|
Attachment #8521922 -
Attachment is obsolete: true
Assignee | ||
Comment 9•10 years ago
|
||
Comment on attachment 8521331 [details] MozReview Request: bz://1097587/MattN Approval Request Comment [Feature/regressing bug #]: Additional logging will help with bug 1084075 for 35. [User impact if declined]: Developers will be slower at developing the tour and therefore the tour may not be as polished. [Describe test coverage new/current, TBPL]: Logging-only chages [Risks and why]: Low risk, logging-only changes that will help with debugging problems => better bug reports and faster bug fixes. [String/UUID change made/needed]: None
Attachment #8521331 -
Flags: approval-mozilla-aurora?
Comment 10•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/8b35d3ba140d
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 36
Updated•10 years ago
|
Attachment #8521331 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Comment 11•10 years ago
|
||
Needs rebasing for Aurora uplift.
Flags: needinfo?(MattN+bmo)
Keywords: branch-patch-needed
Comment 12•10 years ago
|
||
Comment on attachment 8521331 [details]
MozReview Request: bz://1097587/MattN
Matt says he isn't going to have time to rebase this any time soon. Given Friday's uplift, clearing the approval to get it off the radar for now.
Flags: needinfo?(MattN+bmo)
Attachment #8521331 -
Flags: approval-mozilla-aurora+
Assignee | ||
Updated•10 years ago
|
Flags: needinfo?(MattN+bmo)
Comment 13•10 years ago
|
||
Comment on attachment 8521331 [details]
MozReview Request: bz://1097587/MattN
[Triage Comment]
Needed for Fx35 Hello tour, no unusual risk.
(Already on aurora via the trains, so only beta approval is needed.)
Attachment #8521331 -
Flags: approval-mozilla-beta+
Comment 14•10 years ago
|
||
Still needs rebasing per comment 11...
Assignee | ||
Comment 15•10 years ago
|
||
https://hg.mozilla.org/releases/mozilla-beta/rev/012631bb6655
Assignee | ||
Comment 16•9 years ago
|
||
Attachment #8521331 -
Attachment is obsolete: true
Attachment #8618607 -
Flags: review+
Assignee | ||
Comment 17•9 years ago
|
||
You need to log in
before you can comment on or make changes to this bug.
Description
•