browser_privatebrowsing_redesign_telemetry.js fails when run twice in the same browser
Categories
(Firefox :: Private Browsing, task)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox162 | --- | fixed |
People
(Reporter: florian, Assigned: florian)
References
Details
Attachments
(1 external file)
When browser_privatebrowsing_redesign_telemetry.js runs twice in the same browser (the upcoming mochitest-repeat jobs), the second test_redesign_exposure_recorded times out waiting for the exposure event, and then leaves its private window open ("Found an unexpected browser window at the end of test run").
AboutPrivateBrowsingChild records the privateWindowRedesign exposure with recordExposureEvent({ once: true }), and _didSendExposureEvent stays set in the privileged content process, which outlives the first run. The test should reset the flag in that process when it is done, as other Nimbus tests already do.
| Assignee | ||
Comment 1•13 days ago
|
||
The exposure timeout throws past closeWindow, so a second run also left
its private window open ("Found an unexpected browser window").
Comment 3•8 days ago
|
||
| bugherder | ||
Description
•