Closed Bug 1575606 Opened 4 months ago Closed 4 months ago

Make browser_trackingUI_pbmode_exceptions.js's first test close the window properly before opening a new one

Categories

(Firefox :: Protections UI, defect)

defect
Not set

Tracking

()

RESOLVED FIXED
Firefox 70
Tracking Status
firefox70 --- fixed

People

(Reporter: smaug, Assigned: smaug)

Details

Attachments

(1 file)

When changing scheduling for Fission session history, the test start to fail.
The issue seems to be that the first test in the file doesn't wait long enough after window.close() so last-pb-context-exited isn't triggered.
Using BrowserTestUtils.closeWindow works.

Patch coming.

Pushed by opettay@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ca7aac654642
browser_trackingUI_pbmode_exceptions.js' tests should wait for windows to close, r=johannh
Status: NEW → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 70
You need to log in before you can comment on or make changes to this bug.