Closed Bug 1971107 Opened 2 months ago Closed 2 months ago

Add test helper to wait for new tab navigation to be fully stopped

Categories

(Remote Protocol :: Agent, task, P3)

task
Points:
2

Tracking

(firefox141 fixed)

RESOLVED FIXED
141 Branch
Tracking Status
firefox141 --- fixed

People

(Reporter: jdescottes, Assigned: jdescottes)

References

Details

(Whiteboard: [webdriver:m16])

Attachments

(1 file)

In remote/shared/test/browser/browser_NavigationManager* tests we use BrowserTestUtils.browserLoaded to wait for the load of a new tab. However it seems this resolves a bit before we get STATE_STOP notification for the parent WebProgressListener. This leads to intermittent failures with the parent process navigation manager.

The goal here is to introduce another helper which will wait for the navigation-stopped event from the navigation manager.

Blocks: 1845346
Assignee: nobody → jdescottes
Status: NEW → ASSIGNED
See Also: → 1971329
Pushed by jdescottes@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/d2f2b9e3b756 https://hg.mozilla.org/integration/autoland/rev/0fb0cf8f66f0 [remote] Add test helper to wait for new tab navigation to be fully stopped r=webdriver-reviewers,whimboo
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 141 Branch
Points: --- → 2
Priority: -- → P3
Whiteboard: [webdriver:m16]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: