Closed Bug 1575606 Opened 5 years ago Closed 5 years 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
normal

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: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 70
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: