Closed Bug 1917243 Opened 2 months ago Closed 2 months ago

Marionette test_bouncetracking_storage_persistence.py doesn't clean-up Firefox profile and affecting following tests

Categories

(Core :: Privacy: Anti-Tracking, task, P3)

task
Points:
1

Tracking

()

RESOLVED FIXED
132 Branch
Tracking Status
firefox132 --- fixed

People

(Reporter: whimboo, Assigned: whimboo)

References

Details

(Whiteboard: [webdriver:m12])

Attachments

(1 file)

As noticed on bug 1916456 the test toolkit/xre/test/marionette/test_exitcode.py TestFissionAutostart.test_exit_code is failing with a strange exit code of Firefox. But that happens only when it is run after the test:

toolkit/components/antitracking/bouncetrackingprotection/test/marionette/test_bouncetracking_storage_persistence.py

The reason is that the above test sets some custom preferences, restarts Firefox to get those applied but never actually cleans-up the profile afterward. To fix the problem we have to add a tearDown method to restart Firefox with a clean profile.

I'll have a patch in a moment.

Points: --- → 1
Priority: -- → P3
Whiteboard: [webdriver:m12]
Assignee: nobody → hskupin
Status: NEW → ASSIGNED
Pushed by hskupin@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/fff071624faa [antitracking] Clean-up Firefox profile in test_bouncetracking_storage_persistence.py. r=anti-tracking-reviewers,pbz
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 132 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: