Closed Bug 1885656 Opened 2 years ago Closed 25 days ago

Create tests for new Session Restore telemetry probes

Categories

(Firefox :: Session Restore, task, P3)

task

Tracking

()

RESOLVED FIXED
160 Branch
Tracking Status
firefox160 --- fixed

People

(Reporter: kcochrane, Assigned: sfoster)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fidefe-firefox-view])

Attachments

(1 external file)

New telemetry probes were added for session restore in bug 1874742. If possible, we should create some marionette tests for these as it would require browser shutdown/startup.

Blocks: 2066295
  • Adds xpcshell tests for each branch of shutdown_success_session_startup and shutdown_ok
  • One startup per file since SessionStartup and CrashMonitor can only initialize once
  • Add asserts for all_files_corrupt in the existing session file read tests
Assignee: nobody → sfoster
Status: NEW → ASSIGNED
Pushed by sfoster@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/57139a0f2d08 https://hg.mozilla.org/integration/autoland/rev/b45f4820cce3 Add tests for the session restore shutdown_success and all_files_corrupt telemetry. r=sessionstore-reviewers,nsharpley
Status: ASSIGNED → RESOLVED
Closed: 25 days ago
Resolution: --- → FIXED
Target Milestone: --- → 160 Branch
QA Whiteboard: [qa-triage-done-c161/b160]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: