Closed
Bug 837212
Opened 11 years ago
Closed 11 years ago
Convert toolkit/modules/tests/browser_TelemetryTimestamps.js to xpcshell
Categories
(Toolkit :: Telemetry, defect)
Toolkit
Telemetry
Tracking
()
RESOLVED
FIXED
mozilla21
People
(Reporter: Irving, Assigned: Irving)
References
Details
Attachments
(1 file, 1 obsolete file)
5.16 KB,
patch
|
Felipe
:
review+
|
Details | Diff | Splinter Review |
This test gets very little benefit from being a browser chrome test; it should switch to xpcshell. Work in progress attached, but waiting for bug 809920 to sort out Services.appinfo issues under xpcshell.
Assignee | ||
Updated•11 years ago
|
Assignee | ||
Comment 1•11 years ago
|
||
Changing to xpcshell loses one test case, because nothing in the xpcshell runtime adds any startup timestamps directly to the telemetry ping.
Attachment #709167 -
Attachment is obsolete: true
Attachment #710284 -
Flags: review?(gavin.sharp)
Assignee | ||
Comment 2•11 years ago
|
||
Note that this patch requires the patch from bug 810146 to be applied first.
Updated•11 years ago
|
Attachment #710284 -
Flags: review?(gavin.sharp) → review?(felipc)
Comment 3•11 years ago
|
||
Comment on attachment 710284 [details] [diff] [review] Convert browser_TelemetryTimestamps.js tests to xpcshell Changes to the test look fine. The patch has a copy instead of a rename here: > diff --git a/toolkit/modules/tests/browser_TelemetryTimestamps.js b/toolkit/modules/tests/xpcshell/test_TelemetryTimestamps.js > copy from toolkit/modules/tests/browser_TelemetryTimestamps.js > copy to toolkit/modules/tests/xpcshell/test_TelemetryTimestamps.js so please fix that. Feel free to do that together with bug 810146 if you want to do everything in one step. It would also be nice if you add a brief comment explaining why the appinfo workaround is necessary so that someone else writing a similar test in the future can understand it more easily.
Attachment #710284 -
Flags: review?(felipc) → review+
Assignee | ||
Comment 4•11 years ago
|
||
Inbound: https://hg.mozilla.org/integration/mozilla-inbound/rev/c1a747d02e87
Comment 5•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/c1a747d02e87
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla21
You need to log in
before you can comment on or make changes to this bug.
Description
•