Hang Detector and Reporter:/Test Plan

Hang Detector and Reporter

Feature Status Lead engineer QA Lead Status
Hang Detector and Reporter Development in progress Vladan Djeric Simona Badau OK

Summary

  • The Hang Reporter is a new feature that reports transient main thread hangs to Telemetry.
  • It is only useful on Windows builds from the Profiling branch because it relies on having Firefox compiled with frame pointers to unwind call stacks.
  • The Hang Reporter functionality is #ifdef'd out on regular release builds.
  • The feature will not be enabled in release builds and the intended audience is Firefox developers.
  • Minimum instructions required to see a demo of the functionality.

References

Use Cases

  • Check the hang stacks:
    • having the telemetry disabled or the hangmonitor.timeout pref set to zero;
    • having the telemetry enabled or the hangmonitor.timeout pref set to zero;
    • having the telemetry disabled or the hangmonitor.timeout pref set to non-zero;
    • having the telemetry enabled or the hangmonitor.timeout pref set to non-zero;

Test Cases

  • The test cases for this feature can be viewed here.

Important Bugs

  • 712109 - Implement non-fatal chromehang by turning on frame-pointers on a branch

Not Tested

  • TBD

Sign off Criteria

  • All the test cases were executed.
  • All the major bugs have been fixed.